[kaffe] CVS kaffe (kaz): test/regression/BufferedInputStreamAvailableTest.java:

Kaffe CVS cvs-commits at kaffe.org
Tue Aug 2 09:29:24 PDT 2005


PatchSet 6777 
Date: 2005/08/02 16:23:07
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2005-08-02 Ito Kazumitsu  <kaz at maczuka.gcd.org>

	* test/regression/BufferedInputStreamAvailableTest.java:
	Weakened the criterion.

Members: 
	ChangeLog:1.4302->1.4303 
	test/regression/BufferedInputStreamAvailableTest.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4302 kaffe/ChangeLog:1.4303
--- kaffe/ChangeLog:1.4302	Tue Aug  2 09:52:11 2005
+++ kaffe/ChangeLog	Tue Aug  2 16:23:07 2005
@@ -1,3 +1,8 @@
+2005-08-02 Ito Kazumitsu  <kaz at maczuka.gcd.org>
+
+	* test/regression/BufferedInputStreamAvailableTest.java:
+	Weakened the criterion.
+
 2005-08-02 Dalibor Topic  <robilad at kaffe.org>
 
 	* include/jsyscall.h:
Index: kaffe/test/regression/BufferedInputStreamAvailableTest.java
diff -u kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.1 kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.2
--- kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.1	Sun Jul 31 10:44:46 2005
+++ kaffe/test/regression/BufferedInputStreamAvailableTest.java	Tue Aug  2 16:23:10 2005
@@ -8,7 +8,9 @@
 	BufferedInputStream is = new BufferedInputStream(
 	  new FileInputStream(file), (int)flen);
 	int alen = is.available();
-	System.out.println((int)flen == alen);
+	// System.out.println((int)flen == alen);
+	// We are happy if (int)flen == alen, but that is not necessarily true.
+	System.out.println(alen >= 0);
     }
 }
 




More information about the kaffe mailing list