quickjs-tart

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

test1086 (4382B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 RETR
      7 timeout
      8 FAILURE
      9 SLOWDOWNDATA
     10 flaky
     11 timing-dependent
     12 </keywords>
     13 </info>
     14 
     15 # Server-side
     16 <reply>
     17 <servercmd>
     18 SLOWDOWNDATA
     19 REPLY welcome 220 Hey
     20 REPLY USER 331 OK
     21 REPLY PASS 230 OK
     22 REPLY PWD 257 "/"
     23 REPLY TYPE 200 OK
     24 </servercmd>
     25 <data nocheck="yes">
     26 Long chunk of data that couldn't possibly be sent in the time allotted.
     27 Long chunk of data that couldn't possibly be sent in the time allotted.
     28 Long chunk of data that couldn't possibly be sent in the time allotted.
     29 Long chunk of data that couldn't possibly be sent in the time allotted.
     30 Long chunk of data that couldn't possibly be sent in the time allotted.
     31 Long chunk of data that couldn't possibly be sent in the time allotted.
     32 Long chunk of data that couldn't possibly be sent in the time allotted.
     33 Long chunk of data that couldn't possibly be sent in the time allotted.
     34 Long chunk of data that couldn't possibly be sent in the time allotted.
     35 Long chunk of data that couldn't possibly be sent in the time allotted.
     36 Long chunk of data that couldn't possibly be sent in the time allotted.
     37 Long chunk of data that couldn't possibly be sent in the time allotted.
     38 Long chunk of data that couldn't possibly be sent in the time allotted.
     39 Long chunk of data that couldn't possibly be sent in the time allotted.
     40 Long chunk of data that couldn't possibly be sent in the time allotted.
     41 Long chunk of data that couldn't possibly be sent in the time allotted.
     42 Long chunk of data that couldn't possibly be sent in the time allotted.
     43 Long chunk of data that couldn't possibly be sent in the time allotted.
     44 Long chunk of data that couldn't possibly be sent in the time allotted.
     45 Long chunk of data that couldn't possibly be sent in the time allotted.
     46 Long chunk of data that couldn't possibly be sent in the time allotted.
     47 Long chunk of data that couldn't possibly be sent in the time allotted.
     48 Long chunk of data that couldn't possibly be sent in the time allotted.
     49 Long chunk of data that couldn't possibly be sent in the time allotted.
     50 Long chunk of data that couldn't possibly be sent in the time allotted.
     51 Long chunk of data that couldn't possibly be sent in the time allotted.
     52 Long chunk of data that couldn't possibly be sent in the time allotted.
     53 Long chunk of data that couldn't possibly be sent in the time allotted.
     54 Long chunk of data that couldn't possibly be sent in the time allotted.
     55 Long chunk of data that couldn't possibly be sent in the time allotted.
     56 Long chunk of data that couldn't possibly be sent in the time allotted.
     57 Long chunk of data that couldn't possibly be sent in the time allotted.
     58 Long chunk of data that couldn't possibly be sent in the time allotted.
     59 Long chunk of data that couldn't possibly be sent in the time allotted.
     60 Long chunk of data that couldn't possibly be sent in the time allotted.
     61 Long chunk of data that couldn't possibly be sent in the time allotted.
     62 Long chunk of data that couldn't possibly be sent in the time allotted.
     63 Long chunk of data that couldn't possibly be sent in the time allotted.
     64 Long chunk of data that couldn't possibly be sent in the time allotted.
     65 Long chunk of data that couldn't possibly be sent in the time allotted.
     66 Long chunk of data that couldn't possibly be sent in the time allotted.
     67 Long chunk of data that couldn't possibly be sent in the time allotted.
     68 Long chunk of data that couldn't possibly be sent in the time allotted.
     69 Long chunk of data that couldn't possibly be sent in the time allotted.
     70 Long chunk of data that couldn't possibly be sent in the time allotted.
     71 Long chunk of data that couldn't possibly be sent in the time allotted.
     72 Long chunk of data that couldn't possibly be sent in the time allotted.
     73 Long chunk of data that couldn't possibly be sent in the time allotted.
     74 Long chunk of data that couldn't possibly be sent in the time allotted.
     75 Long chunk of data that couldn't possibly be sent in the time allotted.
     76 </data>
     77 </reply>
     78 
     79 # Client-side
     80 <client>
     81 <server>
     82 ftp
     83 </server>
     84 <killserver>
     85 ftp
     86 </killserver>
     87 <name>
     88 FTP download with strict timeout and slow data transfer
     89 </name>
     90 <command>
     91 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 5
     92 </command>
     93 </client>
     94 
     95 # Verify data after the test has been "shot"
     96 <verify>
     97 # 28 is CURLE_OPERATION_TIMEDOUT
     98 <errorcode>
     99 28
    100 </errorcode>
    101 <protocol>
    102 USER anonymous
    103 PASS ftp@example.com
    104 PWD
    105 EPSV
    106 TYPE I
    107 SIZE %TESTNUMBER
    108 RETR %TESTNUMBER
    109 </protocol>
    110 </verify>
    111 </testcase>