[kaffe] CVS kaffe (robilad): Fixed small bug in BufferedInputStreamAvailable test

Kaffe CVS cvs-commits at kaffe.org
Wed Aug 3 16:16:37 PDT 2005


PatchSet 6779 
Date: 2005/08/03 23:09:14
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed small bug in BufferedInputStreamAvailable test

2005-08-03 Dalibor Topic  <robilad at kaffe.org>

        * test/regression/BufferedInputStreamAvailableTest.java:
        Use file TestScript for testing input, as it exists in
        both builddir and srcdir, so if these are different, the
        test still passes.

Members: 
	ChangeLog:1.4304->1.4305 
	test/regression/BufferedInputStreamAvailableTest.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4304 kaffe/ChangeLog:1.4305
--- kaffe/ChangeLog:1.4304	Wed Aug  3 15:01:39 2005
+++ kaffe/ChangeLog	Wed Aug  3 23:09:14 2005
@@ -1,3 +1,10 @@
+2005-08-03 Dalibor Topic  <robilad at kaffe.org>
+
+	* test/regression/BufferedInputStreamAvailableTest.java:
+	Use file TestScript for testing input, as it exists in
+	both builddir and srcdir, so if these are different, the 
+	test still passes.
+
 2005-08-03  Guilhem Lavaux <guilhem at kaffe.org>
 
 	* config/powerpc/trampolines.S: Changed commentary type for
Index: kaffe/test/regression/BufferedInputStreamAvailableTest.java
diff -u kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.2 kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.3
--- kaffe/test/regression/BufferedInputStreamAvailableTest.java:1.2	Tue Aug  2 16:23:10 2005
+++ kaffe/test/regression/BufferedInputStreamAvailableTest.java	Wed Aug  3 23:09:18 2005
@@ -3,7 +3,7 @@
 public class BufferedInputStreamAvailableTest {
     public static void main(String av[]) throws Exception {
 
-	File file = new File("BufferedInputStreamAvailableTest.java");
+	File file = new File("TestScript");
 	long flen = file.length();
 	BufferedInputStream is = new BufferedInputStream(
 	  new FileInputStream(file), (int)flen);




More information about the kaffe mailing list