quickjs-tart

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

test534 (747B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 multi
      8 non-existing host
      9 </keywords>
     10 </info>
     11 
     12 # Server-side
     13 <reply>
     14 <data>
     15 </data>
     16 
     17 <servercmd>
     18 REPLY RETR 550 the file doesn't exist
     19 REPLY SIZE 500 Can't check for file existence
     20 </servercmd>
     21 </reply>
     22 
     23 # Client-side
     24 <client>
     25 <server>
     26 ftp
     27 </server>
     28 <tool>
     29 lib533
     30 </tool>
     31 <name>
     32 FTP RETR twice using multi: non-existing host and non-existing file
     33 </name>
     34 <command>
     35 ftp://non-existing-host.haxx.se/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
     36 </command>
     37 </client>
     38 
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <strip>
     42 QUIT
     43 </strip>
     44 <protocol>
     45 USER anonymous
     46 PASS ftp@example.com
     47 PWD
     48 CWD path
     49 EPSV
     50 TYPE I
     51 SIZE %TESTNUMBER
     52 RETR %TESTNUMBER
     53 QUIT
     54 </protocol>
     55 </verify>
     56 </testcase>