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

@ -24,7 +24,7 @@ file
file:// with Unix path resolution behavior for the case of extra slashes
</name>
<command option="no-include">
file:////%PWD/%LOGDIR/test%TESTNUMBER.txt
file:////%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command>
<precheck>
perl -e "print 'Test requires a Unix system' if ( $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'dos' || $^O eq 'msys');"