Skip to content

Commit

Permalink
tests: fix travis errors due to bin/sh not being bash
Browse files Browse the repository at this point in the history
The travis environment doesn't use bash as /bin/sh leading
to errors running the test suite. Explicitly use bash in
the test scripts.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
  • Loading branch information
phlogistonjohn authored and obnoxxx committed Dec 1, 2017
1 parent eaeeff4 commit 1aaf2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/001-testtest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# This "test" exists merely to exercise the test "framework"

Expand Down
2 changes: 1 addition & 1 deletion tests/100-gotest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

GOPACKAGES="$(go list ./... | grep -v vendor)"
# no special options, exec to go test w/ all pkgs
Expand Down

0 comments on commit 1aaf2c5

Please sign in to comment.