From a71d936007a2f446bfdb0790fa80f9dfcc648485 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 Mar 2023 12:15:17 -0300 Subject: tests/vm-check.sh: Add support for [-- ARGS] --- tests/vm-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3