quickjs-tart

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

test574 (1500B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 LIST
      6 RETR
      7 wildcardmatch
      8 ftplistparser
      9 </keywords>
     10 </info>
     11 
     12 #
     13 # Server-side
     14 #
     15 # Data is generated by the ftp server itself
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <tool>
     23 lib%TESTNUMBER
     24 </tool>
     25 <name>
     26 FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)
     27 </name>
     28 <command>
     29 ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.txt
     30 </command>
     31 </client>
     32 
     33 ############################################
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 QUIT
     38 </strip>
     39 <errorcode>
     40 0
     41 </errorcode>
     42 # THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
     43 <protocol>
     44 USER anonymous
     45 PASS ftp@example.com
     46 PWD
     47 CWD fully_simulated
     48 CWD UNIX
     49 EPSV
     50 TYPE A
     51 LIST
     52 EPSV
     53 TYPE I
     54 RETR chmod1
     55 EPSV
     56 RETR chmod2
     57 EPSV
     58 RETR chmod3
     59 EPSV
     60 RETR empty_file.dat
     61 EPSV
     62 RETR file.txt
     63 EPSV
     64 RETR someothertext.txt
     65 CWD /
     66 CWD fully_simulated
     67 CWD UNIX
     68 EPSV
     69 TYPE A
     70 LIST
     71 EPSV
     72 TYPE I
     73 RETR chmod1
     74 EPSV
     75 RETR chmod2
     76 EPSV
     77 RETR chmod3
     78 EPSV
     79 RETR empty_file.dat
     80 EPSV
     81 RETR file.txt
     82 EPSV
     83 RETR someothertext.txt
     84 QUIT
     85 </protocol>
     86 <stdout>
     87 This file should have permissions 444
     88 This file should have permissions 666
     89 This file should have permissions 777
     90 This is content of file "file.txt"
     91 Some junk ;-) This file does not really exist.
     92 This file should have permissions 444
     93 This file should have permissions 666
     94 This file should have permissions 777
     95 This is content of file "file.txt"
     96 Some junk ;-) This file does not really exist.
     97 </stdout>
     98 </verify>
     99 </testcase>