mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:43:38 +03:00
Added test627 to test SFTP with CURLOPT_NOBODY
This commit is contained in:
parent
a9c1ca9fc5
commit
10232bfe9e
3 changed files with 50 additions and 1 deletions
46
tests/data/test627
Normal file
46
tests/data/test627
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SFTP
|
||||
quote
|
||||
NOBODY
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data sendzero="yes">
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
sftp
|
||||
</server>
|
||||
<name>
|
||||
SFTP quote remove file with NOBODY
|
||||
</name>
|
||||
<command>
|
||||
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/log/file627.txt" sftp://%HOSTIP:%SSHPORT
|
||||
</command>
|
||||
<postcheck>
|
||||
perl %SRCDIR/libtest/test610.pl gone %PWD/log/test627.txt
|
||||
</postcheck>
|
||||
<file name="log/file627.txt">
|
||||
Dummy test file for remove test
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<valgrind>
|
||||
disable
|
||||
</valgrind>
|
||||
<protocol>
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue