tests: Remove --http0.9 option from curl command
With centos stream 8, curl gets downgraded to 7.61, but the option only
gets introduces (and disabled by default) with 7.66.
@@ -141,7 +141,7 @@ fi`,
// This pod tries to contact the host on the provided port, over HTTP.
// On success - it expects to receive "Hello World!".
func NewHelloWorldJobHTTP(host string, port string) *batchv1.Job {
- check := fmt.Sprintf(`set -x; x="$(head -n 1 < <(curl --http0.9 %s:%s))"; echo "$x" ; if [ "$x" = "Hello World!" ]; then echo "succeeded"; exit 0; else echo "failed"; exit 1; fi`, FormatIPForURL(host), port)
+ check := fmt.Sprintf(`set -x; x="$(head -n 1 < <(curl %s:%s))"; echo "$x" ; if [ "$x" = "Hello World!" ]; then echo "succeeded"; exit 0; else echo "failed"; exit 1; fi`, FormatIPForURL(host), port)
return newHelloWorldJob(check)
}
