diff options
author | EuAndreh <eu@euandre.org> | 2023-03-24 17:17:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-24 17:17:23 -0300 |
commit | 653d2e71c7be35c76dc088b5fd01634d9b90531e (patch) | |
tree | d6c8ad151859ae9a0796c7a380f5c1a42daf95fd /tests | |
parent | src/bin/paku.in: Add "PREFIX=#{prefix}" to all make calls in homebrew (diff) | |
download | package-repository-653d2e71c7be35c76dc088b5fd01634d9b90531e.tar.gz package-repository-653d2e71c7be35c76dc088b5fd01634d9b90531e.tar.xz |
Makefile: Add "check-shellcheck" target
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/checks/homebrew.sh | 1 | ||||
-rwxr-xr-x | tests/vm-check.sh | 2 |
2 files changed, 3 insertions, 0 deletions
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 |