Skip to contentSkip to conversation

fstests: Fix hang in copy-results.sh

PATCH In review Frederick Lawler 2 participants 2 messages Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fstests: Fix hang in copy-results.sh

When using a configuration other than libvirt-qemu, the scripts/workflows/fstests/copy-results.sh script hangs because grep is expecting input.

---
 scripts/workflows/fstests/copy-results.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/workflows/fstests/copy-results.sh +1 -1
index 084cf2d26c0f..6d939ec4385c 100755
@@ -38,7 +38,7 @@ fi
 TYPE="libvirt-qemu"
 if ! grep -q "libvirt_provider: True" $VARS; then
 	TYPE="cloud"
-	if ! grep -q terraform; then
+	if ! grep -q terraform $VARS; then
 		TYPE="custom"
 	fi
 fi
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Frederick Lawler

When using a configuration other than libvirt-qemu, the scripts/workflows/fstests/copy-results.sh script hangs because grep is expecting input.

Applied and pushed! Thanks!

Luis