From: fennecdjay Date: Tue, 8 Oct 2019 11:56:14 +0000 (+0200) Subject: :white_check_mark: Test option needing arg X-Git-Tag: nightly~2198^2~101 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=35c3927ee091f4e2acef52449382e300312e8b75;p=gwion.git :white_check_mark: Test option needing arg --- diff --git a/tests/sh/opt.sh b/tests/sh/opt.sh index d231dac6..61d44117 100644 --- a/tests/sh/opt.sh +++ b/tests/sh/opt.sh @@ -1,5 +1,5 @@ #!/bin/bash -# [test] #17 +# [test] #18 n=0 [ "$1" ] && n="$1" @@ -77,6 +77,10 @@ run "$n" "just check" "-g check" "file" n=$((n+1)) run "$n" "just check" "-g nopass" "file" +# option needs argument +n=$((n+1)) +run "$n" "just check" "-p" "file" + # test signal ./gwion -l1 & PID=$!