X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=wvtest.sh;h=47613349e12fbd31c5baa183e262ad21c9c70c07;hb=32a606be6a32a966412a49e8cb9102301f6352d4;hp=e0679078069c5907e38924adc9a35074ef3bae70;hpb=430fdd395a05970a8cff2b297a118d8b625a9e3b;p=bup.git diff --git a/wvtest.sh b/wvtest.sh index e067907..4761334 100755 --- 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 }