aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/bazel/skylark_repository_test.sh
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-08-04 11:49:52 +0200
committerGravatar Dmitry Lomov <dslomov@google.com>2017-08-04 17:19:07 +0200
commit49463f6a1f0971c03fcdfdf9dd03e7445f6ef935 (patch)
treec936fa890f00ed5659319fa010d70bf1595735bf /src/test/shell/bazel/skylark_repository_test.sh
parent028669478cc0054ab51f3dde6738a1269c405ddd (diff)
Make tests more portable
By replacing uses of /bin/bash by /bin/sh, a tool which is more reliably at this location. Then, enable most of the bazel tests for FreeBSD as well. Change-Id: Ic56a1705858f1ed67d1e96e2937e9389dd1d0e36 PiperOrigin-RevId: 164241635
Diffstat (limited to 'src/test/shell/bazel/skylark_repository_test.sh')
-rwxr-xr-xsrc/test/shell/bazel/skylark_repository_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/skylark_repository_test.sh b/src/test/shell/bazel/skylark_repository_test.sh
index 8d92753f9f..d8a4fadde8 100755
--- a/src/test/shell/bazel/skylark_repository_test.sh
+++ b/src/test/shell/bazel/skylark_repository_test.sh
@@ -339,7 +339,7 @@ function test_skylark_repository_which_and_execute() {
# Test we are using the client environment, not the server one
bazel info &> /dev/null # Start up the server.
- echo "#!/bin/bash" > bin.sh
+ echo "#!/bin/sh" > bin.sh
echo "exit 0" >> bin.sh
chmod +x bin.sh