utils/run.sh: use $(find ...) instead of `*/`
[ctf-testsuite.git] / utils / run.sh
1 #!/bin/sh
2
3 TEST_PROG="./test.sh"
4
5 for t in $(find -mindepth 1 -maxdepth 1 -type d | sort); do
6 if [ -n "${TEST_LIST}" ]; then
7 TEST_LIST="${TEST_LIST}\n"
8 fi
9 TEST_LIST="${TEST_LIST}./test.sh ${t}"
10 done
11
12 echo -e "${TEST_LIST}" | prove --exec '' --merge -
This page took 0.029009 seconds and 4 git commands to generate.