diff options
author | Matthias Devlamynck <matthias.devlamynck@mailoo.org> | 2020-10-04 11:37:37 +0200 |
---|---|---|
committer | Matthias Devlamynck <matthias.devlamynck@mailoo.org> | 2020-10-04 11:51:07 +0200 |
commit | b50bd587954e8467cf6141b8c86ca416e74fb26c (patch) | |
tree | 6b0b665e0f1cf544d116fde5406fceb3211e4e4b /tests | |
parent | 203d0bd8ae54cc369faa92c4dc112214831459cd (diff) |
Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available
Diffstat (limited to 'tests')
-rwxr-xr-x[-rw-r--r--] | tests/benchmarks/comparison.sh | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | tests/benchmarks/run-benchmarks.sh | 2 | ||||
-rwxr-xr-x | tests/syntax-tests/regression_test.sh | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | tests/syntax-tests/update.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/benchmarks/comparison.sh b/tests/benchmarks/comparison.sh index 50438cf4..be188293 100644..100755 --- a/tests/benchmarks/comparison.sh +++ b/tests/benchmarks/comparison.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if ! which hyperfine > /dev/null 2>&1; then echo "'hyperfine' does not seem to be installed." diff --git a/tests/benchmarks/run-benchmarks.sh b/tests/benchmarks/run-benchmarks.sh index 252c3008..95dd420c 100644..100755 --- a/tests/benchmarks/run-benchmarks.sh +++ b/tests/benchmarks/run-benchmarks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if ! which hyperfine > /dev/null 2>&1; then echo "'hyperfine' does not seem to be installed." diff --git a/tests/syntax-tests/regression_test.sh b/tests/syntax-tests/regression_test.sh index 55e398c4..25acb256 100755 --- a/tests/syntax-tests/regression_test.sh +++ b/tests/syntax-tests/regression_test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eou pipefail diff --git a/tests/syntax-tests/update.sh b/tests/syntax-tests/update.sh index 7ce66588..beb16ffa 100644..100755 --- a/tests/syntax-tests/update.sh +++ b/tests/syntax-tests/update.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash python="python3" if ! command -v python3 &>/dev/null; then python="python"; fi |