quickjs-tart

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

test864 (673B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 POP3
      5 APOP
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 <servercmd>
     13 CAPA APOP
     14 REPLY welcome +OK curl POP3 server ready to serve <1972.987654321\@curl>
     15 </servercmd>
     16 <data>
     17 From: me@somewhere
     18 To: fake@nowhere
     19 
     20 body
     21 
     22 --
     23   yours sincerely
     24 </data>
     25 </reply>
     26 
     27 #
     28 # Client-side
     29 <client>
     30 <server>
     31 pop3
     32 </server>
     33 <features>
     34 crypto
     35 digest
     36 </features>
     37 <name>
     38 POP3 APOP authentication
     39 </name>
     40 <command>
     41 pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret
     42 </command>
     43 </client>
     44 
     45 #
     46 # Verify data after the test has been "shot"
     47 <verify>
     48 <protocol>
     49 CAPA
     50 APOP user 7501b4cdc224d469940e65e7b5e4d6eb
     51 RETR %TESTNUMBER
     52 QUIT
     53 </protocol>
     54 </verify>
     55 </testcase>