6951887: Wrong redirection useage in test sun/nio/cs/Test4200310.sh
authorptisnovs
Thu, 13 May 2010 10:11:17 +0200
changeset 5601 f09acdbf9fc4
parent 5600 8ca34998a6b3
child 5602 05512c61a402
6951887: Wrong redirection useage in test sun/nio/cs/Test4200310.sh Summary: Testcase correction. Reviewed-by: sherman
jdk/test/sun/nio/cs/Test4200310.sh
--- a/jdk/test/sun/nio/cs/Test4200310.sh	Wed May 12 21:35:55 2010 -0700
+++ b/jdk/test/sun/nio/cs/Test4200310.sh	Thu May 13 10:11:17 2010 +0200
@@ -27,9 +27,9 @@
 # @author Norbert Lindenberg
 # @run shell Test4200310.sh
 
-2>1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/rt.jar" > class-list
-2>1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/charsets.jar" >> class-list
-2>1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/ext/localedata.jar" >> class-list
+2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/rt.jar" > class-list
+2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/charsets.jar" >> class-list
+2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/ext/localedata.jar" >> class-list
 duplicates=`grep '\.class$' class-list | sort | uniq -d`
 
 rm -f class-list