Merge pull request #28 from eepp/refactor-stress-infra
[ctf-testsuite.git] / utils / run.sh
index 93482d97a71aa80e173832ffb2e0d900ad488579..c5a1db55edd30d25e26614bb87737f408c3db80f 100755 (executable)
@@ -2,11 +2,11 @@
 
 TEST_PROG="./test.sh"
 
-for t in */; do
+for t in $(find -mindepth 1 -maxdepth 1 -type d | sort); do
        if [ -n "${TEST_LIST}" ]; then
                TEST_LIST="${TEST_LIST}\n"
        fi
        TEST_LIST="${TEST_LIST}./test.sh ${t}"
 done
 
-echo "${TEST_LIST}" | prove --exec '' --merge -
+echo -e "${TEST_LIST}" | prove --exec '' --merge -
This page took 0.025033 seconds and 4 git commands to generate.