tests: use bash + set pipefail option in test script (#360)

Closes #356
This commit is contained in:
Ben Drucker
2017-01-07 02:25:29 +01:00
committed by Yoshua Wuyts
parent 7ff9d319c0
commit 8ea87bc7b9
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/bash
# setting exit because we're linting and need to exit on failure # setting exit because we're linting and need to exit on failure
set -e set -e -o pipefail
usage () { usage () {
printf "Usage: test\n" printf "Usage: test\n"