]> arthur.barton.de Git - bup.git/commitdiff
wvtest.sh: fix WVDIE
authorRob Browning <rlb@defaultvalue.org>
Sat, 28 May 2016 16:09:32 +0000 (11:09 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 3 Jun 2016 00:13:05 +0000 (19:13 -0500)
It was unused, and didn't actually work.

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

index e0679078069c5907e38924adc9a35074ef3bae70..47613349e12fbd31c5baa183e262ad21c9c70c07 100755 (executable)
--- a/wvtest.sh
+++ b/wvtest.sh
@@ -147,9 +147,11 @@ WVSTART()
 
 WVDIE()
 {
-    echo "$*" 1>&2
-    _wvbacktrace
-    exit 1
+       local TEXT=$(_wvtextclean "$@")
+       _wvpushcall "$@"
+       _wvfind_caller
+       echo "! $WVCALLER_FILE:$WVCALLER_LINE  $TEXT  FAILED" 1>&2
+       exit 1
 }