From ad472685c93b1a7ca6bc69a8a2923ab215d4afd0 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#1770193 --- 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 a1a797dd..8fb6f437 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