btrfs-progs: run fsck image tests in filename order

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2014-10-17 18:26:08 +02:00
parent 555b7feaeb
commit b9a799eb89

View File

@ -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 # 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 # 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. # 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 do
echo " [TEST] $(basename $i)" echo " [TEST] $(basename $i)"
echo "testing image $i" >> $RESULT echo "testing image $i" >> $RESULT