quickjs-tart

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

test587 (687B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP POST
      6 FORM
      7 flaky
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 <data>
     15 </data>
     16 </reply>
     17 
     18 # Client-side
     19 <client>
     20 <features>
     21 form-api
     22 </features>
     23 <server>
     24 http
     25 </server>
     26 # tool is what to use instead of 'curl'
     27 <tool>
     28 lib554
     29 </tool>
     30 
     31 <name>
     32 HTTP multi-part formpost with aborted read callback
     33 </name>
     34 # Add a delay to give server time to write its output since we otherwise might
     35 # not even give it enough time to write its lock file.
     36  <command delay="1">
     37 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     38 </command>
     39 </client>
     40 
     41 #
     42 # Verify data after the test has been "shot"
     43 <verify>
     44 # CURLE_ABORTED_BY_CALLBACK (42)
     45 <errorcode>
     46 42
     47 </errorcode>
     48 </verify>
     49 </testcase>