From 4cf2818e3ed3782a2e44cf1825b17811a60b56c6 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 21 Sep 2023 21:05:36 +0200 Subject: [PATCH] fix tests --- scripts/check-syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-syntax.sh b/scripts/check-syntax.sh index ebea7a2..9b05cfa 100755 --- a/scripts/check-syntax.sh +++ b/scripts/check-syntax.sh @@ -48,7 +48,7 @@ echo "---------------------------------" echo "checking for bash strict mode" find tests-ng -iname '*.sh' | while read -r script; do #grep 'set +e' "${script}" 2>&1 >/dev/null && echo "set +e found in ${script}" && exit 1 - grep 'set \-euxo errtrace pipefailuxo errtrace pipefail' "${script}" || (echo "set -euo errtrace pipefail not set in ${script}" && exit 1 ) + grep 'set \-euo errtrace pipefail' "${script}" || (echo "set -euo errtrace pipefail not set in ${script}" && exit 1 ) done # PEP8 tests