]> arthur.barton.de Git - bup.git/blobdiff - t/test-rm-between-index-and-save.sh
Set pipefail so that "x | y || exit $?" will work properly.
[bup.git] / t / test-rm-between-index-and-save.sh
index ce03befd71d1134de5677fa8fa894c46546c71fb..31b6f3b43fa396a9776708689189bb8818641568 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env bash
 . ./wvtest-bup.sh
 
+set -o pipefail
+
 top="$(WVPASS pwd)" || exit $?
 tmpdir="$(WVPASS wvmktempdir)" || exit $?
 export BUP_DIR="$tmpdir/bup"