quickjs-tart

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

test128 (703B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 STOR
      7 --crlf
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 # Client-side
     15 <client>
     16 <server>
     17 ftp
     18 </server>
     19 <name>
     20 FTP upload with --crlf
     21 </name>
     22 <command>
     23 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --crlf
     24 </command>
     25 <file name="%LOGDIR/upload%TESTNUMBER">
     26 file
     27 with Unix newlines
     28 meant to be
     29 converted
     30 with
     31 the
     32 --crlf option
     33 </file>
     34 </client>
     35 
     36 # Verify data after the test has been "shot"
     37 <verify>
     38 <strip>
     39 QUIT
     40 </strip>
     41 <protocol>
     42 USER anonymous
     43 PASS ftp@example.com
     44 PWD
     45 EPSV
     46 TYPE I
     47 STOR %TESTNUMBER
     48 QUIT
     49 </protocol>
     50 <upload>
     51 file
     52 with Unix newlines
     53 meant to be
     54 converted
     55 with
     56 the
     57 --crlf option
     58 </upload>
     59 </verify>
     60 </testcase>