Skip to content

Commit

Permalink
test-meta.sh: remove a bashism, and don't delete dirs on exit.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
apenwarr committed Mar 20, 2011
1 parent c574c8c commit e405af9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions t/test-meta.sh
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
. wvtest.sh
set -e -o pipefail

TOP="$(pwd)"
export BUP_DIR="$TOP/buptest.tmp"
Expand Down Expand Up @@ -186,7 +185,4 @@ then
)
fi

force-delete "${BUP_DIR}"
force-delete "$TOP/bupmeta.tmp"

exit 0

0 comments on commit e405af9

Please sign in to comment.