xref: /curl/tests/data/test612 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4SFTP
5post-quote
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data nocheck="yes">
13Dummy test file for remove test
14</data>
15</reply>
16
17#
18# Client-side
19<client>
20<server>
21sftp
22</server>
23<name>
24SFTP post-quote remove file
25</name>
26<command>
27--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt -Q "-rm %PWD/%LOGDIR/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/upload.%TESTNUMBER  --insecure
28</command>
29<postcheck>
30perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt
31</postcheck>
32<file name="%LOGDIR/file%TESTNUMBER.txt">
33Dummy test file for remove test
34</file>
35</client>
36
37#
38# Verify data after the test has been "shot"
39<verify>
40<upload>
41Dummy test file for remove test
42</upload>
43<valgrind>
44disable
45</valgrind>
46</verify>
47</testcase>
48