Skip to content

Commit 4df4748

Browse files
committed
libbtrfsutil: python: lift the tests mkfs verbosity to a variable
The mkfs output is quite noisy in the test output so it's run with '-q', however for debugging make it more visible in a variable. [ci skip] Signed-off-by: David Sterba <dsterba@suse.com>
1 parent f55f5b7 commit 4df4748

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libbtrfsutil/python/tests/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def mount_btrfs(self):
7676
else:
7777
mkfs = 'mkfs.btrfs'
7878
try:
79-
subprocess.check_call([mkfs, '-q', image])
79+
verbosity = '-q'
80+
subprocess.check_call([mkfs, verbosity, image])
8081
subprocess.check_call(
8182
[
8283
'mount',

0 commit comments

Comments
 (0)