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>
master
David Sterba 2016-11-18 15:06:13 +01:00
parent 6572f884ba
commit 9da3ce40f5
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()