mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
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
39 lines
535 B
Plaintext
39 lines
535 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FILE
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
# no Server-side
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
file
|
|
</server>
|
|
<name>
|
|
"upload" nonexisting with file://
|
|
</name>
|
|
<command option="no-include">
|
|
file://localhost/%FILE_PWD/%LOGDIR/nonexisting/result%TESTNUMBER.txt -T %LOGDIR/upload%TESTNUMBER.txt
|
|
</command>
|
|
<file name="%LOGDIR/upload%TESTNUMBER.txt">
|
|
data
|
|
in
|
|
file
|
|
to
|
|
write
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 23 => CURLE_WRITE_ERROR
|
|
<errorcode>
|
|
23
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|