test1145 (647B)
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 # Pass %PWD instead of %FILE_PWD to trigger the expected 22 # error code with native Windows curl. 23 <command> 24 file://bad-host%PWD/%LOGDIR/test%TESTNUMBER.txt 25 </command> 26 <file name="%LOGDIR/test%TESTNUMBER.txt"> 27 foo 28 bar 29 bar 30 foo 31 moo 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> 39 3 40 </errorcode> 41 </verify> 42 </testcase>