From 8b212aafc085619381788bdcc71eb40109fdbef4 Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Sun, 12 Apr 2026 05:58:50 -0400 Subject: [PATCH] ci: Escape $ in heredoc in MSHV workflow script This is a preexisting bug in the MSHV integration tests, but previously it only caused a warning. With commit Fixes: 5b67b8994a36 ("ci: Use set -eufo pipefail") it becomes an error. Fixes: 5b67b8994a36 ("ci: Use set -eufo pipefail") Fixes: #7996 Signed-off-by: Demi Marie Obenour --- .github/workflows/mshv-integration.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mshv-integration.yaml b/.github/workflows/mshv-integration.yaml index d4ecea4ed..437cf44f6 100644 --- a/.github/workflows/mshv-integration.yaml +++ b/.github/workflows/mshv-integration.yaml @@ -67,12 +67,12 @@ jobs: echo "Setting permissions..." for i in 0 1 2; do - dev="/dev/vhost-vdpa-$i" - if [ -e "$dev" ]; then - sudo chown $USER:$USER "$dev" - sudo chmod 660 "$dev" + dev="/dev/vhost-vdpa-\$i" + if [ -e "\$dev" ]; then + sudo chown \$USER:\$USER "\$dev" + sudo chmod 660 "\$dev" else - echo "Warning: Device $dev not found" + echo "Warning: Device \$dev not found" fi done