tests: replace %PWD with %SSH_PWD in SCP/SFTP tests

Cherry-picked from #14949
Closes #15103
This commit is contained in:
Viktor Szakats 2024-09-29 13:20:51 +02:00
parent 10ddf4c66a
commit ca9106c1e9
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
9 changed files with 9 additions and 9 deletions

View file

@ -30,7 +30,7 @@ sftp
SFTP pre-quote chmod
</name>
<command>
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "chmod 444 %SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure
</command>
</client>