master-server/deps/curl/tests/data/test625

48 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-12-11 20:30:44 -05:00
<testcase>
<info>
<keywords>
SFTP
SFTP put
--ftp-create-dirs
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP put with --ftp-create-dirs twice
</name>
<command>
--ftp-create-dirs --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.a/upload.%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.b/upload.%TESTNUMBER --insecure
</command>
<postcheck>
perl %SRCDIR/libtest/test610.pl move %PWD/%LOGDIR/test%TESTNUMBER.a/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.a rm %PWD/%LOGDIR/test%TESTNUMBER.b/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.b
</postcheck>
<file name="%LOGDIR/file%TESTNUMBER.txt">
Test data
for ssh upload test
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<upload>
Test data
for ssh upload test
</upload>
<valgrind>
disable
</valgrind>
</verify>
</testcase>