quickjs-tart

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

test422 (624B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 cmdline
      5 --next
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 #
     15 # Client-side
     16 <client>
     17 <server>
     18 none
     19 </server>
     20 <name>
     21 use --next with missing URL before it
     22 </name>
     23 <command>
     24 -O -I --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     25 </command>
     26 </client>
     27 
     28 #
     29 # Verify data after the test has been "shot"
     30 <verify>
     31 <stderr mode="text">
     32 curl: missing URL before --next
     33 curl: option --next: is badly used here
     34 %if manual
     35 curl: try 'curl --help' or 'curl --manual' for more information
     36 %else
     37 curl: try 'curl --help' for more information
     38 %endif
     39 </stderr>
     40 <errorcode>
     41 2
     42 </errorcode>
     43 </verify>
     44 </testcase>