t7x/deps/curl/tests/data/test624

48 lines
897 B
Plaintext
Raw Normal View History

2023-12-06 17:43:39 -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
</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.dir/upload.%TESTNUMBER --insecure
</command>
<postcheck>
perl %SRCDIR/libtest/test610.pl move %PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.dir
</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>