mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-14 22:15:08 +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"
|
echo "checking for bash strict mode"
|
||||||
find tests-ng -iname '*.sh' | while read -r script; do
|
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 +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
|
done
|
||||||
|
|
||||||
# PEP8 tests
|
# PEP8 tests
|
||||||
|
|||||||
Reference in New Issue
Block a user