From 9da3ce40f54340d5a660233ae1fb040d724757f8 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 18 Nov 2016 15:06:13 +0100 Subject: [PATCH] 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 --- tests/misc-tests/006-image-on-missing-device/test.sh | 2 +- tests/misc-tests/011-delete-missing-device/test.sh | 2 +- tests/mkfs-tests/001-basic-profiles/test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/misc-tests/006-image-on-missing-device/test.sh b/tests/misc-tests/006-image-on-missing-device/test.sh index 8133d2b1..5b6fe065 100755 --- a/tests/misc-tests/006-image-on-missing-device/test.sh +++ b/tests/misc-tests/006-image-on-missing-device/test.sh @@ -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() diff --git a/tests/misc-tests/011-delete-missing-device/test.sh b/tests/misc-tests/011-delete-missing-device/test.sh index 0222b6f8..5b5f9786 100755 --- a/tests/misc-tests/011-delete-missing-device/test.sh +++ b/tests/misc-tests/011-delete-missing-device/test.sh @@ -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() diff --git a/tests/mkfs-tests/001-basic-profiles/test.sh b/tests/mkfs-tests/001-basic-profiles/test.sh index eb55148d..0dc9a2bd 100755 --- a/tests/mkfs-tests/001-basic-profiles/test.sh +++ b/tests/mkfs-tests/001-basic-profiles/test.sh @@ -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()