Fix: run.sh for empty directory
[ctf-testsuite.git] / tests / 1.8 / run.sh
index 4cec2e1af6469053dc811673316f7275423f30c5..d535ef1cb2327561891ccb320694102f1f19a1dc 100755 (executable)
@@ -1,11 +1,8 @@
 #!/bin/sh
 
-echo "Running expected pass tests"
-cd pass
-./run.sh
-cd ..
-
-echo "Running expected failure tests"
-cd fail
-./run.sh
-cd ..
+for dir in $(find -mindepth 1 -maxdepth 1 -type d); do
+       echo "Running ${dir} tests"
+       cd ${dir}
+       ./run.sh
+       cd ..
+done
This page took 0.02331 seconds and 4 git commands to generate.