mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 09:38:54 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
46 lines
654 B
Plaintext
46 lines
654 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
post-quote
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
Test file for mkdir test
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<name>
|
|
SFTP post-quote mkdir failure
|
|
</name>
|
|
<command>
|
|
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-mkdir %PWD/log/file%TESTNUMBER.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt --insecure
|
|
</command>
|
|
<file name="log/file%TESTNUMBER.txt">
|
|
Test file for mkdir test
|
|
</file>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
21
|
|
</errorcode>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
</verify>
|
|
</testcase>
|