From: fennecdjay Date: Fri, 11 Oct 2019 13:01:25 +0000 (+0200) Subject: :art: TEst errored func X-Git-Tag: nightly~2182 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2b499fb26d2d4c649b4c6730b44caa8f603e6102;p=gwion.git :art: TEst errored func --- diff --git a/tests/sh/opt.sh b/tests/sh/opt.sh index 66ecc695..241e14c0 100644 --- a/tests/sh/opt.sh +++ b/tests/sh/opt.sh @@ -1,5 +1,5 @@ #!/bin/bash -# [test] #19 +# [test] #20 n=0 [ "$1" ] && n="$1" @@ -85,6 +85,10 @@ run "$n" "option needs argument" "-p" "file" n=$((n+1)) run "$n" "invalid global type" "examples/complex/invalid_type0.gw examples/complex/invalid_type1.gw" "file" +# invalid global func +n=$((n+1)) +run "$n" "invalid global func" "examples/complex/invalid_func0.gw examples/complex/invalid_func1.gw" "file" + # test signal ./gwion -l1 & PID=$!