aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/test.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:23:17 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:25:34 +0100
commit7cca99fd7ad119c27665488e28ceb86800afd574 (patch)
tree64f573301933e0a4ad279c2710adb51d82a22534 /test/test.sh
parentaccomodate older bash-es (diff)
downloadconfig-links-7cca99fd7ad119c27665488e28ceb86800afd574.tar.gz
config-links-7cca99fd7ad119c27665488e28ceb86800afd574.zip
add Docker tests for older bash-es
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 05c5d65..e28f112 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
-shopt -s inherit_errexit lastpipe
+shopt -s inherit_errexit 2> /dev/null || true
+shopt -s lastpipe
script_dir="$( dirname -- "${BASH_SOURCE[0]}" )"
script_dir="$( cd -- "$script_dir" && pwd )"