From 020fd300a405d4f7422f75322bf7b99e9efe1347 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 30 Oct 2019 16:27:29 -0700 Subject: [PATCH] tests: Use --http0.9 for curl ssh test Cherry-picked from a0ae10c2d7569d11b4d272e052c59ab88e69f6b8 Related: rhbz#1769525 --- tests/cli/lib/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/lib/lib.sh b/tests/cli/lib/lib.sh index 3a488ab8..c913d613 100755 --- a/tests/cli/lib/lib.sh +++ b/tests/cli/lib/lib.sh @@ -32,7 +32,7 @@ boot_image() { -serial chardev:log0 &" # wait for ssh to become ready (yes, http is the wrong protocol, but it returns the header) tries=0 - until curl -sS -m 15 "http://localhost:$SSH_PORT/" | grep 'OpenSSH'; do + until curl --http0.9 -sS -m 15 "http://localhost:$SSH_PORT/" | grep 'OpenSSH'; do tries=$((tries + 1)) if [ $tries -gt $TIMEOUT ]; then exit 1