mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 11:01:45 +00:00
fix tests
This commit is contained in:
2
scripts/check-syntax.sh
vendored
2
scripts/check-syntax.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user