Commit 4ff37a4e authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Added test case 1050 to test --ftp-port with an IPv6 address.

Made --interface tests less restrictive on host address.
parent fe167b6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ Daniel Fandrich (28 Jul 2008)
- Added test cases 1045 through 1049 as simple tests of --interface using the
  localhost interface.

- Added test case 1050 to test --ftp-port with an IPv6 address

Daniel Stenberg (26 Jul 2008)
- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
  overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test556 test1031 test628 test629 test630 test631 test632 test1032         \
 test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039    \
 test1040 test1041 test1042 test1043 test1044 test1045 test1046 test1047   \
 test1048 test1049
 test1048 test1049 test1050

filecheck:
	@mkdir test-place; \
+1 −5
Original line number Diff line number Diff line
@@ -32,12 +32,8 @@ http
HTTP GET with localhost --interface
 </name>
 <command>
http://%HOSTIP:%HTTPPORT/1045 --interface 127.0.0.1
http://%HOSTIP:%HTTPPORT/1045 --interface %CLIENTIP
</command>
# When bound to localhost, one may connect only to a local test server
<precheck>
perl -e "print 'Test requires default test server host address' if ( '%HOSTIP' ne '127.0.0.1' );"
</precheck>
</client>

#
+2 −2
Original line number Diff line number Diff line
@@ -38,9 +38,9 @@ HTTP-IPv6 GET with localhost --interface
 <command>
-g "http://%HOST6IP:%HTTP6PORT/1046" --interface ::1
</command>
# When bound to ip6-localhost, one may connect only to a local test server
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out
<precheck>
perl -e "print 'Test requires default test server host address' if ( '%HOST6IP' ne '[::1]' );"
perl -e "print 'Test requires default test server host address' if ( '%CLIENT6IP' ne '[::1]' );"
</precheck>
</client>

+1 −5
Original line number Diff line number Diff line
@@ -38,12 +38,8 @@ ftp
FTP dir list PASV with localhost --interface
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/ --interface 127.0.0.1
ftp://%HOSTIP:%FTPPORT/ --interface %CLIENTIP
</command>
# When bound to localhost, one may connect only to a local test server
<precheck>
perl -e "print 'Test requires default test server host address' if ( '%HOSTIP' ne '127.0.0.1' );"
</precheck>
</client>

#
Loading