quickjs-tart

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

test1102 (693B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 SYST
      6 SITE
      7 OS400
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 blabla
     14 </data>
     15 <servercmd>
     16 REPLY PWD 257 "QGPL" is the current library
     17 REPLY SYST 215  OS/400 runs this server
     18 REPLY SITE 250 Name format set to 1
     19 </servercmd>
     20 </reply>
     21 
     22 # Client-side
     23 <client>
     24 <server>
     25 ftp
     26 </server>
     27 <name>
     28 FTP OS/400 server name format check
     29 </name>
     30 <command>
     31 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     32 </command>
     33 </client>
     34 
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <strip>
     38 QUIT
     39 </strip>
     40 <protocol>
     41 USER anonymous
     42 PASS ftp@example.com
     43 PWD
     44 SYST
     45 SITE NAMEFMT 1
     46 PWD
     47 EPSV
     48 TYPE I
     49 SIZE %TESTNUMBER
     50 RETR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>