~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to tests/data/test1036

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
FTP
 
5
PASV
 
6
RETR
 
7
Resume
 
8
</keywords>
 
9
</info>
 
10
 
 
11
# Server-side
 
12
<reply>
 
13
<data nocheck="yes">
 
14
expected to be a file without the first part
 
15
but we emulate that
 
16
</data>
 
17
<size>
 
18
85
 
19
</size>
 
20
<servercmd>
 
21
REPLY EPSV 500 no such command
 
22
</servercmd>
 
23
</reply>
 
24
 
 
25
# Client-side
 
26
<client>
 
27
<server>
 
28
ftp
 
29
</server>
 
30
 <name>
 
31
FTP download resume from end of file
 
32
 </name>
 
33
 <command>
 
34
ftp://%HOSTIP:%FTPPORT/1036 -C -
 
35
</command>
 
36
<file name="log/curl1036.out">
 
37
This is the start!!
 
38
</file>
 
39
</client>
 
40
 
 
41
# Verify data after the test has been "shot"
 
42
<verify>
 
43
<protocol>
 
44
USER anonymous
 
45
PASS ftp@example.com
 
46
PWD
 
47
EPSV
 
48
PASV
 
49
TYPE I
 
50
SIZE 1036
 
51
REST 20
 
52
RETR 1036
 
53
QUIT
 
54
</protocol>
 
55
<file name="log/curl1036.out">
 
56
This is the start!!
 
57
expected to be a file without the first part
 
58
but we emulate that
 
59
</file>
 
60
</verify>
 
61
</testcase>