mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:13:32 +03:00
tests: use %LOGDIR to refer to the log directory
This will allow it be set dynamically. Ref: #10818
This commit is contained in:
parent
0c82fcde79
commit
e7a021e135
447 changed files with 1076 additions and 1070 deletions
|
|
@ -14,18 +14,18 @@ FAILURE
|
|||
sftp
|
||||
</server>
|
||||
<precheck>
|
||||
perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test%TESTNUMBER.dir
|
||||
perl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
</precheck>
|
||||
<name>
|
||||
SFTP put remote failure
|
||||
</name>
|
||||
<command>
|
||||
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/test%TESTNUMBER.dir/rofile.txt --insecure
|
||||
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/rofile.txt --insecure
|
||||
</command>
|
||||
<postcheck>
|
||||
perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test%TESTNUMBER.dir
|
||||
perl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir
|
||||
</postcheck>
|
||||
<file name="log/file%TESTNUMBER.txt">
|
||||
<file name="%LOGDIR/file%TESTNUMBER.txt">
|
||||
Test data
|
||||
for ssh upload test
|
||||
</file>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue