]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1381
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1381
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 RETR
6 -J
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 <data nocheck="yes">
13 fooo
14 mooo
15 </data>
16 </reply>
17
18 # Client-side
19 <client>
20 <server>
21 ftp
22 </server>
23 <name>
24 FTP DL, file without C-D inside, using -o fname -J -D file
25 </name>
26 <command option="no-output,no-include">
27 ftp://%HOSTIP:%FTPPORT/path/file1381 -o log/download1381 -J -D log/heads1381
28 </command>
29 <postcheck>
30 perl %SRCDIR/libtest/notexists.pl log/file1381
31 </postcheck>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <protocol>
37 USER anonymous\r
38 PASS ftp@example.com\r
39 PWD\r
40 CWD path\r
41 EPSV\r
42 TYPE I\r
43 SIZE file1381\r
44 RETR file1381\r
45 QUIT\r
46 </protocol>
47
48 <file1 name="log/download1381">
49 fooo
50 mooo
51 </file1>
52
53 <file2 name="log/heads1381">
54 220-        _   _ ____  _     \r
55 220-    ___| | | |  _ \| |    \r
56 220-   / __| | | | |_) | |    \r
57 220-  | (__| |_| |  _ <| |___ \r
58 220    \___|\___/|_| \_\_____|\r
59 331 We are happy you popped in!\r
60 230 Welcome you silly person\r
61 257 "/" is current directory\r
62 250 CWD command successful.\r
63 229 Entering Passive Mode (stripped)
64 200 I modify TYPE as you wanted\r
65 213 10\r
66 150 Binary data connection for 1381 () (10 bytes).\r
67 226 File transfer complete\r
68 </file2>
69 <stripfile2>
70 s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
71 </stripfile2>
72
73 <file3 name="log/stdout1381">
74 </file3>
75
76 </verify>
77 </testcase>