quickjs-tart

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

test196 (609B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 retry
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 <servercmd>
     12 REPLY PASS 430 temporarily not available
     13 </servercmd>
     14 </reply>
     15 
     16 # Client-side
     17 <client>
     18 <server>
     19 ftp
     20 </server>
     21 <name>
     22 FTP transient error, retry request once
     23 </name>
     24 <command>
     25 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1 -w '%{num_retries}\n'
     26 </command>
     27 </client>
     28 
     29 # Verify data after the test has been "shot"
     30 <verify>
     31 # 67 is CURLE_LOGIN_DENIED
     32 <errorcode>
     33 67
     34 </errorcode>
     35 <protocol>
     36 USER anonymous
     37 PASS ftp@example.com
     38 USER anonymous
     39 PASS ftp@example.com
     40 </protocol>
     41 <stdout>
     42 1
     43 </stdout>
     44 </verify>
     45 </testcase>