diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 16:32:03 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 17:05:28 -0400 |
commit | f594e6742633f2f8c20b1a7b29935d3196696b94 (patch) | |
tree | bfc01de7a8124ed26504b0a5abfea166bf101166 /runtests | |
parent | 3c4f584d35d151cb2e31d579b980e0d1ab9a6262 (diff) | |
download | mirror-ponymix-f594e6742633f2f8c20b1a7b29935d3196696b94.tar.gz mirror-ponymix-f594e6742633f2f8c20b1a7b29935d3196696b94.tar.bz2 mirror-ponymix-f594e6742633f2f8c20b1a7b29935d3196696b94.zip |
validate argument count with string -> enum conversion
Diffstat (limited to 'runtests')
-rwxr-xr-x | runtests | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 )) |