From 0a61738ad6d98584de9f50908ba4d51929a4bc84 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Fri, 15 May 2026 21:21:35 +0300 Subject: [PATCH] test-vm-client: Fix SHUTDOWN_DELAY, it is delay variable, not command Signed-off-by: Denys Fedoryshchenko --- vm-tests/test-vm-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-tests/test-vm-client.sh b/vm-tests/test-vm-client.sh index 61bf205..a323713 100755 --- a/vm-tests/test-vm-client.sh +++ b/vm-tests/test-vm-client.sh @@ -443,7 +443,7 @@ EOF echo "$(date): [RUN_ID:$RUN_ID] Initiating shutdown" # This provides a fallback in case the script exits but instance doesn't terminate SHUTDOWN_DELAY=$((5)) - sudo shutdown +$(SHUTDOWN_DELAY) "Scheduled shutdown: Test completed. Shutting down in ${SHUTDOWN_DELAY} minutes to prevent orphaned instance." + sudo shutdown +${SHUTDOWN_DELAY} "Scheduled shutdown: Test completed. Shutting down in ${SHUTDOWN_DELAY} minutes to prevent orphaned instance." # Exit with the appropriate exit code # The shutdown is scheduled but script exits immediately with proper status