]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test593
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test593
1 #
2 # For this test the server rejects the EPRT command,
3 # code in lib591 makes use of curl_multi_timeout()
4 # and server does not establish data connection.
5 #
6 <testcase>
7 <info>
8 <keywords>
9 FTP
10 PORT
11 STOR
12 multi
13 EPRT refused
14 NODATACONN150
15 </keywords>
16 </info>
17
18 # Server-side
19 <reply>
20 <data>
21 </data>
22 <servercmd>
23 NODATACONN150
24 REPLY EPRT 500 we don't like EPRT now
25 </servercmd>
26 </reply>
27
28 # Client-side
29 <client>
30 <server>
31 ftp
32 </server>
33 <tool>
34 lib591
35 </tool>
36  <name>
37 FTP multi PORT upload, no data conn and no transient neg. reply
38  </name>
39  <command>
40 ftp://%HOSTIP:%FTPPORT/path/593 %FTPTIME2 log/upload593
41 </command>
42 <file name="log/upload593">
43 Moooooooooooo for 593
44  upload this
45 </file>
46 </client>
47
48 # Verify data after the test has been "shot"
49 <verify>
50 # Strip off parts of the PORT and EPRT commands that might differ
51 <strippart>
52 s/^PORT (.*)/PORT/
53 s/^EPRT \|1\|(.*)/EPRT \|1\|/
54 </strippart>
55 <protocol>
56 USER anonymous\r
57 PASS ftp@example.com\r
58 PWD\r
59 CWD path\r
60 EPRT |1|
61 PORT
62 TYPE I\r
63 STOR 593\r
64 QUIT\r
65 </protocol>
66 <errorcode>
67 12
68 </errorcode>
69 <upload>
70 </upload>
71 </verify>
72 </testcase>