]> arthur.barton.de Git - bup.git/commitdiff
test-meta.sh: remove a bashism, and don't delete dirs on exit.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:46:32 +0000 (03:46 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:56:08 +0000 (03:56 -0700)
It's really annoying to have it wiping out directories that you want to
examine after a failed test.  And "set -o pipefail" is not available in the
version of bash on MacOS 10.4.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
t/test-meta.sh

index 3d835a24830c67d4d44cc752a9e48038c7631efc..3d5556819b1bd312677e5594d75f0a6e3741ac89 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env bash
 . wvtest.sh
-set -e -o pipefail
 
 TOP="$(pwd)"
 export BUP_DIR="$TOP/buptest.tmp"
@@ -186,7 +185,4 @@ then
   )
 fi
 
-force-delete "${BUP_DIR}"
-force-delete "$TOP/bupmeta.tmp"
-
 exit 0