X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=blobdiff_plain;f=wvtest.sh;h=e0679078069c5907e38924adc9a35074ef3bae70;hp=05f6f34a24be38da9c2d63ac355085e3a5abe3a5;hb=d612d9a599590cb53a76711754f9e031f66a330a;hpb=761fd595b620bc91f2a7393b7ba00fbb3daabf75 diff --git a/wvtest.sh b/wvtest.sh index 05f6f34..e067907 100755 --- a/wvtest.sh +++ b/wvtest.sh @@ -144,6 +144,15 @@ WVSTART() echo "Testing \"$*\" in $WVCALLER_FILE:" >&2 } + +WVDIE() +{ + echo "$*" 1>&2 + _wvbacktrace + exit 1 +} + + # Local Variables: # indent-tabs-mode: t # sh-basic-offset: 8