Give the test an extra second to run so it passes on slow machines
[platform/upstream/curl.git] / tests / data / test1086
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 EPSV
6 RETR
7 timeout
8 FAILURE
9 </keywords>
10 </info>
11
12 # Server-side
13 <reply>
14 <servercmd>
15 SLOWDOWN
16 </servercmd>
17 <data nocheck="yes">
18 Long chunk of data that couldn't possibly be sent in the time allotted.
19 Long chunk of data that couldn't possibly be sent in the time allotted.
20 Long chunk of data that couldn't possibly be sent in the time allotted.
21 Long chunk of data that couldn't possibly be sent in the time allotted.
22 Long chunk of data that couldn't possibly be sent in the time allotted.
23 Long chunk of data that couldn't possibly be sent in the time allotted.
24 Long chunk of data that couldn't possibly be sent in the time allotted.
25 Long chunk of data that couldn't possibly be sent in the time allotted.
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 </data>
43 </reply>
44
45 # Client-side
46 <client>
47 <server>
48 ftp
49 </server>
50 <killserver>
51 ftp
52 </killserver>
53  <name>
54 FTP download with strict timeout and slow data transfer
55  </name>
56  <command timeout="1">
57 ftp://%HOSTIP:%FTPPORT/1086 -m 7
58 </command>
59 </client>
60
61 # Verify data after the test has been "shot"
62 <verify>
63 # 28 is CURLE_OPERATION_TIMEDOUT
64 <errorcode>
65 28
66 </errorcode>
67 <protocol>
68 USER anonymous\r
69 PASS ftp@example.com\r
70 PWD\r
71 EPSV\r
72 TYPE I\r
73 SIZE 1086\r
74 RETR 1086\r
75 </protocol>
76 </verify>
77 </testcase>