btrfs-progs: tests: change options to list all loop devices
The option --list might not be available on older versions, the equvalent is --all. Discovered via failed travis build. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6572f884ba
commit
9da3ce40f5
|
@ -39,7 +39,7 @@ cleanup_devices()
|
|||
for i in `seq $ndevs`; do
|
||||
truncate -s0 img$i
|
||||
done
|
||||
run_check $SUDO_HELPER losetup --list
|
||||
run_check $SUDO_HELPER losetup --all
|
||||
}
|
||||
|
||||
test_image_dump()
|
||||
|
|
|
@ -32,7 +32,7 @@ cleanup_devices()
|
|||
for i in `seq $ndevs`; do
|
||||
truncate -s0 img$i
|
||||
done
|
||||
run_check $SUDO_HELPER losetup --list
|
||||
run_check $SUDO_HELPER losetup --all
|
||||
}
|
||||
|
||||
test_do_mkfs()
|
||||
|
|
|
@ -32,7 +32,7 @@ cleanup_devices()
|
|||
for i in `seq $ndevs`; do
|
||||
truncate -s0 img$i
|
||||
done
|
||||
run_check $SUDO_HELPER losetup --list
|
||||
run_check $SUDO_HELPER losetup --all
|
||||
}
|
||||
|
||||
test_get_info()
|
||||
|
|
Loading…
Reference in New Issue