Discussion:
[PATCH] btrfs-progs: run fsck image tests in filename order
(too old to reply)
David Sterba
2014-10-17 16:35:48 UTC
Permalink
Raw Message
Signed-off-by: David Sterba <***@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 --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
--
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...