summaryrefslogtreecommitdiff
path: root/tests/data/test196
blob: c72cbebf49ec6dd66617c686da1ffc5502e92f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<testcase>
<info>
<keywords>
FTP
retry
</keywords>
</info>

# Server-side
<reply>
<servercmd>
REPLY PASS 430 temporarily not available
</servercmd>
</reply>

# Client-side
<client>
<server>
ftp
</server>
<name>
FTP transient error, retry request once
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1 -w '%{num_retries}\n'
</command>
</client>

# Verify data after the test has been "shot"
<verify>
# 67 is CURLE_LOGIN_DENIED
<errorcode>
67
</errorcode>
<protocol>
USER anonymous
PASS ftp@example.com
USER anonymous
PASS ftp@example.com
</protocol>
<stdout>
1
</stdout>
</verify>
</testcase>