7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin
Summary: Work around problems in some cygwin installations
Reviewed-by: alanb, sspitsyn
--- a/jdk/test/ProblemList.txt Fri Feb 24 20:02:50 2012 +0100
+++ b/jdk/test/ProblemList.txt Fri Feb 24 20:09:49 2012 +0100
@@ -1,6 +1,6 @@
###########################################################################
#
-# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -125,9 +125,6 @@
# 7123972
java/lang/annotation/loaderLeak/Main.java generic-all
-# 7079093
-java/lang/instrument/ManifestTest.sh windows-all
-
# 6944188
java/lang/management/ThreadMXBean/ThreadStateTest.java generic-all
--- a/jdk/test/java/lang/instrument/ManifestTest.sh Fri Feb 24 20:02:50 2012 +0100
+++ b/jdk/test/java/lang/instrument/ManifestTest.sh Fri Feb 24 20:09:49 2012 +0100
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -396,7 +396,7 @@
touch $FAIL_MARKER
fi
- MESG=`cat expect_boot_cp_line`
+ MESG=`cat expect_boot_cp_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null
result=$?
if [ "$result" = 0 ]; then
@@ -406,7 +406,7 @@
touch $FAIL_MARKER
fi
- MESG=`cat expect_redef_line`
+ MESG=`cat expect_redef_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null
result=$?
if [ "$result" = 0 ]; then
@@ -416,7 +416,7 @@
touch $FAIL_MARKER
fi
- MESG=`cat expect_retrans_line`
+ MESG=`cat expect_retrans_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null
result=$?
if [ "$result" = 0 ]; then
@@ -426,7 +426,7 @@
touch $FAIL_MARKER
fi
- MESG=`cat expect_set_nmp_line`
+ MESG=`cat expect_set_nmp_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null
result=$?
if [ "$result" = 0 ]; then