curl-curl/tests/data/test628
Viktor Szakats c6bd2e6a9a
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
2025-04-03 23:18:55 +02:00

31 lines
395 B
Plaintext

<testcase>
<info>
<keywords>
SFTP
FAILURE
</keywords>
</info>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP invalid user login (password authentication)
</name>
<command>
-u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%SSH_PWD/irrelevant-file --insecure
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
67
</errorcode>
</verify>
</testcase>