iw7-mod/deps/curl/tests/data/test612

48 lines
857 B
Plaintext
Raw Normal View History

2024-08-13 05:15:34 -04:00
<testcase>
<info>
<keywords>
SFTP
post-quote
</keywords>
</info>
#
# Server-side
<reply>
<data nocheck="yes">
Dummy test file for remove test
</data>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP post-quote remove file
</name>
<command>
--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
</command>
<postcheck>
perl %SRCDIR/libtest/test610.pl gone %PWD/%LOGDIR/test%TESTNUMBER.txt
</postcheck>
<file name="%LOGDIR/file%TESTNUMBER.txt">
Dummy test file for remove test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<upload>
Dummy test file for remove test
</upload>
<valgrind>
disable
</valgrind>
</verify>
</testcase>