URL test patch

Anthony Green green@cygnus.com
Fri Mar 3 18:18:00 GMT 2000


I'm committing the following patch for some test code that depends on
the IP address of sourceware.cygnus.com and the version of Apache that
it runs.

2000-03-02  Anthony Green  <green@cygnus.com>

	* gnu/testlet/java/net/URL/URLTest.java (test_toString):
	sourceware.cygnus.com has a new IP address.
	(test_openConnection): Sourceware is running a newer version of
	Apache.


Index: gnu/testlet/java/net/URL/URLTest.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/URL/URLTest.java,v
retrieving revision 1.2
diff -u -p -p -u -r1.2 URLTest.java
--- URLTest.java	1999/06/11 01:17:03	1.2
+++ URLTest.java	2000/03/04 02:17:32
@@ -128,7 +128,7 @@ public class URLTest implements Testlet
 
 			URLConnection conn = url.openConnection();
 
-			harness.check (conn.getHeaderField(2), "Apache/1.3.4 (Unix)");
+			harness.check (conn.getHeaderField(2), "Apache/1.3.9 (Unix)");
 			String conttype	= conn.getContentType();
 			harness.check (conttype, "text/html");
 
@@ -199,12 +199,12 @@ public class URLTest implements Testlet
 			URL url1 = new URL ( " http://sourceware.cygnus.com:80/mauve/testarea/index.html ");
 			String str1 = url1.toString();
 
-			URL url2 = new URL ( " http://205.180.83.80/ ");
+			URL url2 = new URL ( " http://205.180.83.71/ ");
 			String str2 = url2.toString();
 
 			harness.check (str, " http://sourceware.cygnus.com/index.html ");
 			harness.check (str1, " http://sourceware.cygnus.com:80/mauve/testarea/index.html ");
-			harness.check (str2, " http://205.180.83.80/ ");
+			harness.check (str2, " http://205.180.83.71/ ");
 
 			URL url3 = new URL( "ftp" , "sourceware.cygnus.com" , 21 , "/dir/dir1.lst");
 			String str3 = url3.toString( );

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California


More information about the Mauve-patches mailing list