Annotation of embedaddon/curl/tests/data/test1048, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: FTP
5: FTP-ipv6
6: IPv6
7: PASV
8: LIST
9: --interface
10: IPv6
11: </keywords>
12: </info>
13:
14: #
15: # Server-side
16: <reply>
17: # When doing LIST, we get the default list output hard-coded in the test
18: # FTP server
19: <datacheck mode="text">
20: total 20
21: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
22: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
23: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
24: -r--r--r-- 1 0 1 35 Jul 16 1996 README
25: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
26: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
27: drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
28: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
29: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
30: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
31: </datacheck>
32: </reply>
33:
34: #
35: # Client-side
36: <client>
37: <features>
38: ipv6
39: </features>
40: <server>
41: ftp-ipv6
42: </server>
43: <name>
44: FTP-IPv6 dir list PASV with localhost --interface
45: </name>
46: <command>
47: -g "ftp://%HOST6IP:%FTP6PORT/" --interface ::1
48: </command>
49: # --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
50: <precheck>
51: perl -e "print 'Test requires default test client host address' if ( '%CLIENT6IP' ne '[::1]' );"
52: </precheck>
53: </client>
54:
55: #
56: # Verify data after the test has been "shot"
57: <verify>
58: <protocol>
59: USER anonymous
60: PASS ftp@example.com
61: PWD
62: EPSV
63: TYPE A
64: LIST
65: QUIT
66: </protocol>
67: </verify>
68: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>