quickjs-tart

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

test661 (845B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 </data>
     13 </reply>
     14 
     15 # Client-side
     16 <client>
     17 <server>
     18 ftp
     19 </server>
     20 # tool is what to use instead of 'curl'
     21 <tool>
     22 lib%TESTNUMBER
     23 </tool>
     24 
     25 <name>
     26 Avoid redundant CWDs
     27 </name>
     28 <command>
     29 ftp://%HOSTIP:%FTPPORT/
     30 </command>
     31 </client>
     32 
     33 #
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 QUIT
     38 </strip>
     39 <protocol>
     40 USER anonymous
     41 PASS ftp@example.com
     42 PWD
     43 CWD /folderA
     44 EPSV
     45 TYPE I
     46 RETR %TESTNUMBER
     47 CWD /folderB
     48 EPSV
     49 RETR %TESTNUMBER
     50 QUIT
     51 USER anonymous
     52 PASS ftp@example.com
     53 PWD
     54 EPSV
     55 TYPE I
     56 RETR /folderA/%TESTNUMBER
     57 CWD /folderB
     58 EPSV
     59 RETR %TESTNUMBER
     60 EPSV
     61 RETR /folderA/%TESTNUMBER
     62 QUIT
     63 USER anonymous
     64 PASS ftp@example.com
     65 PWD
     66 SYST
     67 QUIT
     68 USER anonymous
     69 PASS ftp@example.com
     70 PWD
     71 SYST
     72 SYST
     73 QUIT
     74 </protocol>
     75 </verify>
     76 </testcase>