1 <testcase> 2 <info> 3 <keywords> 4 FILE 5 </keywords> 6 </info> 7 8 <reply> 9 </reply> 10 11 # Client-side 12 <client> 13 <server> 14 file 15 </server> 16 <name> 17 file:// bad host 18 </name> 19 # This command should not succeed since we only accept 20 # file:/// file://localhost/ file://127.0.0.1/ 21 <command> 22 file://bad-host%PWD/log/test1145.txt 23 </command> 24 <file name="log/test1145.txt"> 25 foo 26 bar 27 bar 28 foo 29 moo 30 </file> 31 </client> 32 33 # Verify data after the test has been "shot" 34 <verify> 35 # CURLE_URL_MALFORMAT is error code 3 36 <errorcode> 37 3 38 </errorcode> 39 </verify> 40 </testcase> 41