Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2017-02-19 03:43:53 +0300
committerBryan Drewery <bryan@shatow.net>2017-02-19 03:43:53 +0300
commit761f31c7683698b361da40c67dff13066bbd6ff6 (patch)
tree013ca0be38d7618b43b333bc5b54165b40efd1b5 /test/runtests.sh
parentf7b3c349b1338b2c400ae2ac6338b2be07cb53e4 (diff)
Run tests against stock and modified sh
Diffstat (limited to 'test/runtests.sh')
-rwxr-xr-xtest/runtests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/runtests.sh b/test/runtests.sh
index 2de26363..3873bdb8 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -2,13 +2,15 @@
export PATH=..:${PATH}
+SH="$1"
+shift
TESTS="$@"
FAILED_TESTS=
for test in ${TESTS}; do
status=0
echo -n "Running ${test} ... "
- timeout 20 sh ${test} > ${test}.stdout.log 2> ${test}.stderr.log || status=$?
+ timeout 20 ${SH} ${test} > ${test}.stdout.log 2> ${test}.stderr.log || status=$?
if [ ${status} -ne 0 ]; then
if [ ${status} -eq 124 ]; then
status="124 (timeout)"