提交 343c8164 编写于 作者: S sla

7079093: TEST_BUG: java/lang/instrument/ManifestTest.sh fails with cygwin

Summary: Work around problems in some cygwin installations
Reviewed-by: alanb, sspitsyn
上级 2590e801
########################################################################### ###########################################################################
# #
# 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
...@@ -125,9 +125,6 @@ ...@@ -125,9 +125,6 @@
# 7123972 # 7123972
java/lang/annotation/loaderLeak/Main.java generic-all java/lang/annotation/loaderLeak/Main.java generic-all
# 7079093
java/lang/instrument/ManifestTest.sh windows-all
# 6944188 # 6944188
java/lang/management/ThreadMXBean/ThreadStateTest.java generic-all java/lang/management/ThreadMXBean/ThreadStateTest.java generic-all
......
# #
# 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. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
...@@ -396,7 +396,7 @@ while read token; do ...@@ -396,7 +396,7 @@ while read token; do
touch $FAIL_MARKER touch $FAIL_MARKER
fi fi
MESG=`cat expect_boot_cp_line` MESG=`cat expect_boot_cp_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null grep -s "$MESG" output.log > /dev/null
result=$? result=$?
if [ "$result" = 0 ]; then if [ "$result" = 0 ]; then
...@@ -406,7 +406,7 @@ while read token; do ...@@ -406,7 +406,7 @@ while read token; do
touch $FAIL_MARKER touch $FAIL_MARKER
fi fi
MESG=`cat expect_redef_line` MESG=`cat expect_redef_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null grep -s "$MESG" output.log > /dev/null
result=$? result=$?
if [ "$result" = 0 ]; then if [ "$result" = 0 ]; then
...@@ -416,7 +416,7 @@ while read token; do ...@@ -416,7 +416,7 @@ while read token; do
touch $FAIL_MARKER touch $FAIL_MARKER
fi fi
MESG=`cat expect_retrans_line` MESG=`cat expect_retrans_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null grep -s "$MESG" output.log > /dev/null
result=$? result=$?
if [ "$result" = 0 ]; then if [ "$result" = 0 ]; then
...@@ -426,7 +426,7 @@ while read token; do ...@@ -426,7 +426,7 @@ while read token; do
touch $FAIL_MARKER touch $FAIL_MARKER
fi fi
MESG=`cat expect_set_nmp_line` MESG=`cat expect_set_nmp_line | tr -d '\n\r'`
grep -s "$MESG" output.log > /dev/null grep -s "$MESG" output.log > /dev/null
result=$? result=$?
if [ "$result" = 0 ]; then if [ "$result" = 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册