diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 | ||||
-rwxr-xr-x | tests/checks/homebrew.sh | 1 | ||||
-rwxr-xr-x | tests/vm-check.sh | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -110,6 +110,9 @@ clean: src/bin/paku $(derived-assets) result* *.mk *.sentinel public/ +check-shellcheck: + git ls-files | grep '\.sh$$' | xargs shellcheck + local-files = \ /etc/postfix/master.cf \ /etc/postfix/main.cf \ @@ -143,4 +146,4 @@ check-debian-x86_64-deb: check-debian: check-debian-x86_64-deb -check: check-guix check-ubuntu check-debian +check: check-shellcheck check-guix check-ubuntu check-debian diff --git a/tests/checks/homebrew.sh b/tests/checks/homebrew.sh index 2104359..ba33be8 100755 --- a/tests/checks/homebrew.sh +++ b/tests/checks/homebrew.sh @@ -1,6 +1,7 @@ #!/bin/sh # Load brew(1) +# shellcheck source=/dev/null . ~/.profile set -eu set -x diff --git a/tests/vm-check.sh b/tests/vm-check.sh index 9390acb..de78f0c 100755 --- a/tests/vm-check.sh +++ b/tests/vm-check.sh @@ -99,4 +99,6 @@ trap shutdown EXIT untill -m5 -n5 ssh "$HOST" uptime scp tests/checks/"$TYPE".sh "$HOST":check.sh } 2>&1 | pre_host + +# shellcheck disable=2029 ssh "$HOST" sh check.sh "$REMOTE" 2>&1 | pre_guest |