quickjs-tart

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

test853 (681B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 POP3
      5 Clear Text
      6 LIST
      7 SLOWDOWN
      8 </keywords>
      9 </info>
     10 
     11 #
     12 # Server-side
     13 <reply>
     14 # We use SLOWDOWN to really exercise the end-of-body parsing over multiple
     15 # packets
     16 <servercmd>
     17 SLOWDOWN
     18 </servercmd>
     19 # When doing LIST, we get the default list output hard-coded in the test
     20 # POP3 server
     21 <data>
     22 1 100
     23 2 4294967400
     24 3 200
     25 </data>
     26 </reply>
     27 
     28 #
     29 # Client-side
     30 <client>
     31 <server>
     32 pop3
     33 </server>
     34 <name>
     35 POP3 LIST messages from *SLOW* server
     36 </name>
     37 <command>
     38 pop3://%HOSTIP:%POP3PORT/ -u user:secret
     39 </command>
     40 </client>
     41 
     42 #
     43 # Verify data after the test has been "shot"
     44 <verify>
     45 <protocol>
     46 CAPA
     47 USER user
     48 PASS secret
     49 LIST
     50 QUIT
     51 </protocol>
     52 </verify>
     53 </testcase>