test481 (786B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 --no-clobber 7 --continue-at 8 </keywords> 9 </info> 10 11 # 12 # Server-side 13 <reply> 14 </reply> 15 16 # 17 # Client-side 18 <client> 19 <server> 20 http 21 </server> 22 <name> 23 --no-clobber with --continue-at 24 </name> 25 <file name="%LOGDIR/%TESTNUMBER"> 26 initial content 27 </file> 28 <command option="no-output,no-include"> 29 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-clobber -C 1 -o "%LOGDIR/%TESTNUMBER" 30 </command> 31 </client> 32 33 # 34 # Verify data after the test has been "shot" 35 <verify> 36 <errorcode> 37 2 38 </errorcode> 39 <stderr mode="text"> 40 curl: --continue-at is mutually exclusive with --no-clobber 41 curl: option -C: is badly used here 42 %if manual 43 curl: try 'curl --help' or 'curl --manual' for more information 44 %else 45 curl: try 'curl --help' for more information 46 %endif 47 </stderr> 48 </verify> 49 </testcase>