summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-24 00:35:27 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-24 00:35:53 -0700
commite7cef4c863e80881584d6d9d58af76e9b95b07ad (patch)
treef22c2e675072a614b42587dac3c1560a0605f3b6 /test
parentfa8a09271af88e2845062494c6d5a196213eb869 (diff)
downloadmc-e7cef4c863e80881584d6d9d58af76e9b95b07ad.tar.gz
Make the subtest runner a bit more resilient.
Don't accept nested tests or multiple test exits.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtest.sh b/test/runtest.sh
index a60f835..4643bbf 100755
--- a/test/runtest.sh
+++ b/test/runtest.sh
@@ -87,7 +87,7 @@ function B {
# Should fail
function F {
- echo "test $test <<{!"
+ echo "test $1 <<{!"
(build $1) > /dev/null 2>1
if [ $? -eq '1' ]; then
pass $1