]> arthur.barton.de Git - bup.git/commitdiff
wvtest.sh: add a simplistic WVSKIP
authorRob Browning <rlb@defaultvalue.org>
Sat, 4 Dec 2021 18:31:02 +0000 (12:31 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
Upstream wvtest actually defines the syntax, so add a trivial WVSKIP
that just prints "! ... skip ok".

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
wvtest.sh

index 47613349e12fbd31c5baa183e262ad21c9c70c07..3a6e312b88cf0060815b628ac45b3bf3edfd87c7 100644 (file)
--- a/wvtest.sh
+++ b/wvtest.sh
@@ -145,6 +145,15 @@ WVSTART()
 }
 
 
+WVSKIP()
+{
+       local TEXT=$(_wvtextclean "$@")
+       _wvpushcall "$@"
+       _wvfind_caller
+       echo "! $WVCALLER_FILE:$WVCALLER_LINE  $TEXT  skip ok" 1>&2
+}
+
+
 WVDIE()
 {
        local TEXT=$(_wvtextclean "$@")