~ubuntu-branches/ubuntu/natty/curl/natty

« back to all changes in this revision

Viewing changes to tests/data/test1107

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

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
PRET
 
8
</keywords>
 
9
</info>
 
10
# Server-side
 
11
<reply>
 
12
<data>
 
13
data
 
14
    to
 
15
      see
 
16
that FTP
 
17
works
 
18
  so does it?
 
19
</data>
 
20
<servercmd>
 
21
REPLY PRET 200 fine
 
22
</servercmd>
 
23
</reply>
 
24
 
 
25
# Client-side
 
26
<client>
 
27
<server>
 
28
ftp
 
29
</server>
 
30
 <name>
 
31
FTP RETR PASV with PRET
 
32
 </name>
 
33
 <command>
 
34
ftp://%HOSTIP:%FTPPORT/1107 --ftp-pret
 
35
</command>
 
36
 
 
37
</client>
 
38
 
 
39
# Verify data after the test has been "shot"
 
40
<verify>
 
41
<protocol>
 
42
USER anonymous
 
43
PASS ftp@example.com
 
44
PWD
 
45
PRET RETR 1107
 
46
EPSV
 
47
TYPE I
 
48
SIZE 1107
 
49
RETR 1107
 
50
QUIT
 
51
</protocol>
 
52
</verify>
 
53
</testcase>