test1680 (740B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 --clobber 7 </keywords> 8 </info> 9 10 # 11 # Server-side 12 <reply> 13 <data nocheck="yes"> 14 HTTP/1.0 200 OK 15 Connection: close 16 Content-Type: text/plain 17 Content-Length: 4 18 19 foo 20 </data> 21 </reply> 22 23 # 24 # Client-side 25 <client> 26 <name> 27 HTTP GET with explicit clobber 28 </name> 29 <server> 30 http 31 </server> 32 <features> 33 http 34 </features> 35 <command option="no-output"> 36 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/exist%TESTNUMBER --clobber 37 </command> 38 <file name="%LOGDIR/exist%TESTNUMBER"> 39 to be overwritten 40 </file> 41 </client> 42 43 # 44 # Verify data after the test has been "shot" 45 <verify> 46 <file name="%LOGDIR/exist%TESTNUMBER"> 47 HTTP/1.0 200 OK 48 Connection: close 49 Content-Type: text/plain 50 Content-Length: 4 51 52 foo 53 </file> 54 </verify> 55 </testcase>