diff mbox

btrfs-progs: run fsck image tests in filename order

Message ID 1413563748-19925-1-git-send-email-dsterba@suse.cz (mailing list archive)
State Accepted
Headers show

Commit Message

David Sterba Oct. 17, 2014, 4:35 p.m. UTC
Signed-off-by: David Sterba <dsterba@suse.cz>
---

Based on "Btrfs-progs: check, ability to detect and fix outdated snapshot root items"

 tests/fsck-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/fsck-tests.sh b/tests/fsck-tests.sh
index 3f04626eda8c..8987d0442a6b 100644
--- a/tests/fsck-tests.sh
+++ b/tests/fsck-tests.sh
@@ -32,7 +32,7 @@  run_check make btrfs-corrupt-block
 # image (the backing file of a loop device, as a sparse file). The reason for
 # keeping some as tarballs of raw images is that for these cases btrfs-image
 # isn't able to preserve all the (bad) filesystem structure for some reason.
-for i in $(find $here/tests/fsck-tests -name '*.img' -o -name '*.tar.xz')
+for i in $(find $here/tests/fsck-tests -name '*.img' -o -name '*.tar.xz' | sort)
 do
 	echo "     [TEST]    $(basename $i)"
 	echo "testing image $i" >> $RESULT