xref: /curl/tests/data/test1145 (revision f6cb707b)
1<testcase>
2<info>
3<keywords>
4FILE
5</keywords>
6</info>
7
8<reply>
9</reply>
10
11# Client-side
12<client>
13<server>
14file
15</server>
16<name>
17file:// bad host
18</name>
19# This command should not succeed since we only accept
20# file:/// file://localhost/ file://127.0.0.1/
21# Pass %PWD instead of %FILE_PWD to trigger the expected
22# error code with native Windows curl.
23<command>
24file://bad-host%PWD/%LOGDIR/test%TESTNUMBER.txt
25</command>
26<file name="%LOGDIR/test%TESTNUMBER.txt">
27foo
28   bar
29bar
30   foo
31moo
32</file>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37# CURLE_URL_MALFORMAT is error code 3
38<errorcode>
393
40</errorcode>
41</verify>
42</testcase>
43