xref: /curl/tests/data/test615 (revision 31a29fc6)
1<testcase>
2<info>
3<keywords>
4SFTP
5SFTP put
6FAILURE
7</keywords>
8</info>
9
10#
11# Client-side
12<client>
13<server>
14sftp
15</server>
16<precheck>
17%PERL %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
18</precheck>
19<name>
20SFTP put remote failure
21</name>
22<command>
23--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure
24</command>
25<file name="%LOGDIR/file%TESTNUMBER.txt">
26Test data
27for ssh upload test
28</file>
29</client>
30
31#
32# Verify data after the test has been "shot"
33<verify>
34<errorcode>
359
36</errorcode>
37<postcheck>
38%PERL %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir
39</postcheck>
40</verify>
41</testcase>
42