quickjs-tart

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

test480 (495B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 netrc
      5 POP3
      6 </keywords>
      7 </info>
      8 #
      9 # Server-side
     10 <reply>
     11 
     12 </reply>
     13 
     14 #
     15 # Client-side
     16 <client>
     17 <server>
     18 pop3
     19 </server>
     20 <name>
     21 Reject .netrc with credentials using CRLF for POP3
     22 </name>
     23 <command>
     24 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER pop3://%HOSTIP:%POP3PORT/%TESTNUMBER
     25 </command>
     26 <file name="%LOGDIR/netrc%TESTNUMBER" >
     27 machine %HOSTIP
     28   login alice
     29   password "password\r\ncommand"
     30 </file>
     31 </client>
     32 
     33 <verify>
     34 <errorcode>
     35 26
     36 </errorcode>
     37 </verify>
     38 </testcase>