tests: prefer --insecure over -k

To make it uniform in all tests, and greppability.

Also:
- replace `-k` flag with `-q` in test 1268. (the actual flag doesn't
  matter in this test)
- keep `-k` in test 300 to test its short form.
  (also verified to fail without a working `-k`)

Closes #16878
This commit is contained in:
Viktor Szakats 2025-03-29 03:41:45 +01:00
parent 9ba597bed7
commit c6bd2e6a9a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
43 changed files with 44 additions and 43 deletions

View file

@ -38,7 +38,7 @@ https
-w urle.scheme after HTTP to HTTPS redirect
</name>
<command option="no-include">
-k -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_redirects} %{url_effective} %{urle.scheme}\n"
--insecure -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_redirects} %{url_effective} %{urle.scheme}\n"
</command>
</client>