tests: use bash + set pipefail option in test script (#360)
Closes #356
This commit is contained in:
committed by
Yoshua Wuyts
parent
7ff9d319c0
commit
8ea87bc7b9
+2
-2
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user