From 653d2e71c7be35c76dc088b5fd01634d9b90531e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 24 Mar 2023 17:17:23 -0300 Subject: Makefile: Add "check-shellcheck" target --- tests/checks/homebrew.sh | 1 + tests/vm-check.sh | 2 ++ 2 files changed, 3 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3