[kaffe] CVS kaffe (jim): Fix problem with "killer process" modifications that broke wc.java test.

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sat Aug 23 23:08:02 2003


PatchSet 3974 
Date: 2003/08/24 06:05:24
Author: jim
Branch: HEAD
Tag: (none) 
Log:
Fix problem with "killer process" modifications that broke wc.java test.

Members: 
	ChangeLog:1.1571->1.1572 
	test/regression/TestScript.in:1.38->1.39 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1571 kaffe/ChangeLog:1.1572
--- kaffe/ChangeLog:1.1571	Fri Aug 22 13:24:40 2003
+++ kaffe/ChangeLog	Sun Aug 24 06:05:24 2003
@@ -1,3 +1,12 @@
+2003-08-23  Jim Pick  <jim@kaffe.org>
+
+	* test/regression/TestScript.in:
+	Fix for breakage introduced by killer process - need to explicitly
+	pipe standard input into test process.  The "wc.java" test was
+	broken by this.
+
+	Reported by: Ito Kazumitsu <kas@maczuka.gcd.org>
+
 2003-08-22  Helmer Kraemer  <hkraemer@freenet.de>
 
 	* gnu/java/lang/reflect/TypeSignature.java:
Index: kaffe/test/regression/TestScript.in
diff -u kaffe/test/regression/TestScript.in:1.38 kaffe/test/regression/TestScript.in:1.39
--- kaffe/test/regression/TestScript.in:1.38	Mon Aug 18 06:34:47 2003
+++ kaffe/test/regression/TestScript.in	Sun Aug 24 06:05:25 2003
@@ -68,7 +68,7 @@
 	RESULT="$1.fail"
 	TMPRESULT="$1.tmp"
 	$VERBOSE $JAVA $*
-	$JAVA $* >$TMPRESULT 2>&1 &
+	$JAVA $* <&0 >$TMPRESULT 2>&1 &
 	error=$?
 	pid=$!
 	$VERBOSE "Background pid: $pid"