kdevops.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] fstests: Fix hang in copy-results.sh
@ 2023-08-29 20:45 Frederick Lawler
  2023-08-29 22:57 ` Luis Chamberlain
  0 siblings, 1 reply; 2+ messages in thread
From: Frederick Lawler @ 2023-08-29 20:45 UTC (permalink / raw)
  To: mcgrof; +Cc: kdevops, kernel-team, Frederick Lawler

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

Signed-off-by: Frederick Lawler <fred@cloudflare.com>
---
 scripts/workflows/fstests/copy-results.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/workflows/fstests/copy-results.sh b/scripts/workflows/fstests/copy-results.sh
index 084cf2d26c0f..6d939ec4385c 100755
--- a/scripts/workflows/fstests/copy-results.sh
+++ b/scripts/workflows/fstests/copy-results.sh
@@ -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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-29 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 20:45 [PATCH] fstests: Fix hang in copy-results.sh Frederick Lawler
2023-08-29 22:57 ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).