tests: replace %PWD with %FILE_PWD for file://

Before this patch not all tests used `%FILE_PWD` with the `file://`
protocol.

Keep `%PWD` for test1145, to keep it fail on Windows like the test
expects.

Cherry-picked from #14949

Closes #15090
This commit is contained in:
Viktor Szakats 2024-09-29 12:01:37 +02:00
parent 18143579ba
commit f6cb707b6a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
12 changed files with 14 additions and 10 deletions

View file

@ -18,6 +18,8 @@ file:// bad host
</name>
# This command should not succeed since we only accept
# file:/// file://localhost/ file://127.0.0.1/
# Pass %PWD instead of %FILE_PWD to trigger the expected
# error code with native Windows curl.
<command>
file://bad-host%PWD/%LOGDIR/test%TESTNUMBER.txt
</command>