quickjs-tart

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

test484 (735B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 etag
      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 --etag-compare and -save with more than one URL
     22 </name>
     23 <command>
     24 http://example.com/%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER --etag-save %LOGDIR/etag%TESTNUMBER --url http://example.net/fooo
     25 </command>
     26 </client>
     27 
     28 #
     29 # Verify data after the test has been "shot"
     30 <verify>
     31 <errorcode>
     32 2
     33 </errorcode>
     34 <stderr mode="text">
     35 curl: The etag options only work on a single URL
     36 curl: option --url: is badly used here
     37 %if manual
     38 curl: try 'curl --help' or 'curl --manual' for more information
     39 %else
     40 curl: try 'curl --help' for more information
     41 %endif
     42 </stderr>
     43 </verify>
     44 </testcase>