summaryrefslogtreecommitdiff
path: root/tests/run_tests.sh
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-14 23:59:54 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-14 23:59:54 +0000
commitdcfdc053cb5f9fb4d5eac0a2233c75126b7a8188 (patch)
treef34f30b382fa22d6fd0af46875a5b4b26d00feff /tests/run_tests.sh
parenta918df69269a39ef7350a645b5db025d66ecb18a (diff)
Added some of the tests.
Diffstat (limited to 'tests/run_tests.sh')
-rwxr-xr-xtests/run_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 8c2fbc7..771e77d 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -33,7 +33,7 @@ if [ ! -f "$ZC" ]; then
exit 1
fi
-for test_file in "$TEST_DIR"/*.zc; do
+while read -r test_file; do
[ -e "$test_file" ] || continue
echo -n "Testing $(basename "$test_file")... "
@@ -49,7 +49,7 @@ for test_file in "$TEST_DIR"/*.zc; do
((FAILED++))
FAILED_TESTS="$FAILED_TESTS\n- $(basename "$test_file")"
fi
-done
+done < <(find "$TEST_DIR" -name "*.zc" | sort)
echo "----------------------------------------"
echo "Summary:"