quickjs-tart

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

test1599 (647B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 netrc
      6 </keywords>
      7 </info>
      8 
      9 # Test based on GitHub issue 17659
     10 #
     11 # Server-side
     12 <reply>
     13 <data>
     14 -foo-
     15 </data>
     16 </reply>
     17 
     18 #
     19 # Client-side
     20 <client>
     21 <server>
     22 ftp
     23 </server>
     24 <name>
     25 FTP with netrc using no user but control code in password
     26 </name>
     27 <command>
     28 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/netrc%TESTNUMBER
     29 </command>
     30 <tool>
     31 lib%TESTNUMBER
     32 </tool>
     33 <file name="%LOGDIR/netrc%TESTNUMBER" nonewline="yes">
     34 default   passwor?dlogin anonymou\ ' password login anonymous       passwor?d.'macdef
     35 </file>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <errorcode>
     42 0
     43 </errorcode>
     44 </verify>
     45 </testcase>