quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test482 (736B)


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