quickjs-tart

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

test1559 (794B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 CURLOPT_URL
      5 verbose logs
      6 </keywords>
      7 </info>
      8 
      9 <reply>
     10 </reply>
     11 
     12 <client>
     13 <server>
     14 none
     15 </server>
     16 
     17 # require HTTP so that CURLOPT_POSTFIELDS works as assumed
     18 <features>
     19 http
     20 </features>
     21 <tool>
     22 lib%TESTNUMBER
     23 </tool>
     24 
     25 <name>
     26 Set excessive URL lengths
     27 </name>
     28 </client>
     29 
     30 #
     31 # Verify that the test runs to completion without crashing
     32 <verify>
     33 <errorcode>
     34 0
     35 </errorcode>
     36 <stdout>
     37 CURLOPT_URL 10000000 bytes URL == 43
     38 CURLOPT_POSTFIELDS 10000000 bytes data == 0
     39 CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
     40 CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function)
     41 CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
     42 </stdout>
     43 <limits>
     44 Maximum allocated: 10010000
     45 </limits>
     46 </verify>
     47 
     48 </testcase>