set the bash pipefail option in the test script to return the error
[monkeysphere.git] / tests / basic
index 289a1b79997928c8b2edf8198bbd64c65e981856..d86388665492ba6e3336df8a8a2b4a478ef05a70 100755 (executable)
@@ -13,6 +13,7 @@
 
 # all subcommands in this script should complete without failure:
 set -e
+set -o pipefail
 
 ## make sure that the right tools are installed to run the test.  the
 ## test has *more* requirements than plain ol' monkeysphere: