~ubuntu-branches/ubuntu/utopic/curl/utopic-updates

« back to all changes in this revision

Viewing changes to tests/data/test595

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-05-22 14:53:29 UTC
  • mfrom: (3.4.28 sid)
  • Revision ID: package-import@ubuntu.com-20120522145329-hbf1n3zr7qh08qab
Tags: 7.25.0-1ubuntu1
* Merge from Debian testing (LP: #1003049).  Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
  - Also closes (LP: #855291)
* debian/patches/CVE-2012-0036.patch: Dropped. CVE resolved upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This test is like 585 but uses passive FTP instead of HTTP
 
3
#
 
4
<testcase>
 
5
<info>
 
6
<keywords>
 
7
FTP
 
8
</keywords>
 
9
</info>
 
10
#
 
11
# Server-side
 
12
<reply>
 
13
<data>
 
14
moo
 
15
</data>
 
16
<datacheck>
 
17
[OPEN] counter: 1
 
18
[OPEN] counter: 2
 
19
moo
 
20
[CLOSE] counter: 2
 
21
[CLOSE] counter: 1
 
22
</datacheck>
 
23
</reply>
 
24
 
 
25
# Client-side
 
26
<client>
 
27
<server>
 
28
ftp
 
29
</server>
 
30
# tool is what to use instead of 'curl'
 
31
<tool>
 
32
lib585
 
33
</tool>
 
34
 
 
35
 <name>
 
36
verify close callbacks with passive FTP
 
37
 </name>
 
38
 <command>
 
39
ftp://%HOSTIP:%FTPPORT/595 log/ip595
 
40
</command>
 
41
</client>
 
42
 
 
43
#
 
44
# Verify data after the test has been "shot"
 
45
<verify>
 
46
<protocol>
 
47
USER anonymous
 
48
PASS ftp@example.com
 
49
PWD
 
50
EPSV
 
51
TYPE I
 
52
SIZE 595
 
53
RETR 595
 
54
QUIT
 
55
</protocol>
 
56
</verify>
 
57
</testcase>