From 35c3927ee091f4e2acef52449382e300312e8b75 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 8 Oct 2019 13:56:14 +0200 Subject: [PATCH] :white_check_mark: Test option needing arg --- tests/sh/opt.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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=$! -- 2.43.0