~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test1048

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 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
LIST
 
7
--interface
 
8
IPv6
 
9
</keywords>
 
10
</info>
 
11
 
 
12
#
 
13
# Server-side
 
14
<reply>
 
15
# When doing LIST, we get the default list output hard-coded in the test
 
16
# FTP server
 
17
<datacheck>
 
18
total 20
 
19
drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
 
20
drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
 
21
drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
 
22
-r--r--r--   1 0        1             35 Jul 16  1996 README
 
23
lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
 
24
dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
 
25
drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
 
26
dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
 
27
drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
 
28
dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
 
29
</datacheck>
 
30
</reply>
 
31
 
 
32
#
 
33
# Client-side
 
34
<client>
 
35
<features>
 
36
ipv6
 
37
</features>
 
38
<server>
 
39
ftp-ipv6
 
40
</server>
 
41
 <name>
 
42
FTP-IPv6 dir list PASV with localhost --interface
 
43
 </name>
 
44
 <command>
 
45
-g "ftp://%HOST6IP:%FTP6PORT/" --interface ::1
 
46
</command>
 
47
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
 
48
<precheck>
 
49
perl -e "print 'Test requires default test server host address' if ( '%CLIENT6IP' ne '[::1]' );"
 
50
</precheck>
 
51
</client>
 
52
 
 
53
#
 
54
# Verify data after the test has been "shot"
 
55
<verify>
 
56
<protocol>
 
57
USER anonymous
 
58
PASS ftp@example.com
 
59
PWD
 
60
EPSV
 
61
TYPE A
 
62
LIST
 
63
QUIT
 
64
</protocol>
 
65
</verify>
 
66
</testcase>