Skip to content

Commit

Permalink
Call bash explicitely, disableing POSIX mode
Browse files Browse the repository at this point in the history
https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html

Running `./pkg/framework/test/scripts/run-tests.sh` in POSIX mode breaks
our usage of the `args` array.
  • Loading branch information
hoegaarden authored and totherme committed Nov 29, 2017
1 parent ccb54d2 commit 3df0191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ go list ./... | grep -vF pkg/framework/test | xargs go test -v
rc=$((rc || $?))

echo "Running test framework tests"
./pkg/framework/test/scripts/download-binaries.sh \
&& ./pkg/framework/test/scripts/run-tests.sh
bash ./pkg/framework/test/scripts/download-binaries.sh \
&& bash ./pkg/framework/test/scripts/run-tests.sh
rc=$((rc || $?))

exit $rc

0 comments on commit 3df0191

Please sign in to comment.