From a0ae10c2d7569d11b4d272e052c59ab88e69f6b8 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 --- 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 6d37d4e4..abd54172 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