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

@ -16,7 +16,7 @@ sftp
SFTP invalid user login (password authentication)
</name>
<command>
-u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
-u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
</command>
</client>