diff options
author | EuAndreh <eu@euandre.org> | 2023-03-28 12:15:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-28 12:16:21 -0300 |
commit | a71d936007a2f446bfdb0790fa80f9dfcc648485 (patch) | |
tree | d2fab5b9b7dab718418d6e919365a8a9c95a1fdf /tests | |
parent | src/bin/paku.in: Small tweaks on HTML output (diff) | |
download | package-repository-a71d936007a2f446bfdb0790fa80f9dfcc648485.tar.gz package-repository-a71d936007a2f446bfdb0790fa80f9dfcc648485.tar.xz |
tests/vm-check.sh: Add support for [-- ARGS]
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/vm-check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vm-check.sh b/tests/vm-check.sh index 78086e7..327aa6d 100755 --- a/tests/vm-check.sh +++ b/tests/vm-check.sh @@ -4,7 +4,7 @@ set -eu usage() { cat <<-'EOF' Usage: - vm-check.sh [-x] -t TYPE -H HOST -r REMOTE + vm-check.sh [-x] -t TYPE -H HOST -r REMOTE [-- ARGS] vm-check.sh -h EOF } @@ -107,6 +107,6 @@ trap shutdown EXIT { STATUS=0 # shellcheck disable=2029 - ssh "$HOST" sh check.sh "$REMOTE" || STATUS=$? + ssh "$HOST" sh check.sh "$@" "$REMOTE" || STATUS=$? printf '%s' "$STATUS" > "$STATUS_F" } 2>&1 | pre_guest |