aboutsummaryrefslogtreecommitdiffstats
path: root/runtests
diff options
context:
space:
mode:
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests b/runtests
index a0762cb..f07bdad 100755
--- a/runtests
+++ b/runtests
@@ -19,7 +19,7 @@ do_test() {
(( ++testno ))
- result=$("$ponymix" "$verb" -- ${arg+"$arg"} 2>/dev/null)
+ result=$("$ponymix" "$verb" -- ${3+"$arg"} 2>/dev/null)
if [[ $result != $expected ]]; then
printf '==> test %d FAIL: expected %s, got %s\n' "$testno" "$expected" "$result"
(( ++fail ))