quickjs-tart

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

test2205 (582B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 MQTT
      5 MQTT SUBSCRIBE
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 </data>
     14 </reply>
     15 
     16 #
     17 # Client-side
     18 <client>
     19 <features>
     20 mqtt
     21 </features>
     22 <server>
     23 mqtt
     24 </server>
     25 <name>
     26 MQTT with very long user name
     27 </name>
     28 <file name="%LOGDIR/input%TESTNUMBER">
     29 user = %repeat[65536 x a]%:fakepasswd
     30 </file>
     31 <command option="binary-trace">
     32 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER -K %LOGDIR/input%TESTNUMBER
     33 </command>
     34 </client>
     35 
     36 #
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 # 8 is CURLE_WEIRD_SERVER_REPLY
     40 <errorcode>
     41 8
     42 </errorcode>
     43 </verify>
     44 </testcase>