curl/tests/data/test620
2024-09-20 22:48:30 +02:00

36 lines
630 B
Plaintext

<testcase>
<info>
<keywords>
SFTP
FAILURE
</keywords>
</info>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP retrieval of missing file followed by good file
</name>
<command>
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
</command>
<file name="%LOGDIR/file%TESTNUMBER.txt">
Test data
for ssh test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout>
Test data
for ssh test
</stdout>
</verify>
</testcase>