mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:43:33 +03:00
tests: replace %PWD with %SSH_PWD in SCP/SFTP tests
Cherry-picked from #14949 Closes #15103
This commit is contained in:
parent
10ddf4c66a
commit
ca9106c1e9
9 changed files with 9 additions and 9 deletions
|
|
@ -24,7 +24,7 @@ sftp
|
|||
SFTP post-quote rename
|
||||
</name>
|
||||
<command>
|
||||
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "-rename %PWD/%LOGDIR/file%TESTNUMBER.txt %PWD/%LOGDIR/file%TESTNUMBER-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
|
||||
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "-rename %SSH_PWD/%LOGDIR/file%TESTNUMBER.txt %SSH_PWD/%LOGDIR/file%TESTNUMBER-renamed.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
|
||||
</command>
|
||||
# Verify that the file was renamed properly, then rename the file back to what
|
||||
# it was so the verify section works and the file can be cleaned up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue