test/compiler/5091921/Test6890943.sh

changeset 4619
a2bc322ca273
parent 2918
231c2b41ea4d
child 4831
04d6d4322c6a
equal deleted inserted replaced
4618:514efad5e81a 4619:a2bc322ca273
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 3 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # 5 #
6 # This code is free software; you can redistribute it and/or modify it 6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as 7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
50 cp ${TESTSRC}/output6890943.txt . 50 cp ${TESTSRC}/output6890943.txt .
51 cp ${TESTSRC}/Test6890943.sh . 51 cp ${TESTSRC}/Test6890943.sh .
52 52
53 ${TESTJAVA}/bin/javac -d . Test6890943.java 53 ${TESTJAVA}/bin/javac -d . Test6890943.java
54 54
55 ${TESTJAVA}/bin/java -XX:-PrintVMOptions ${TESTVMOPTS} Test6890943 < input6890943.txt > test.out 2>&1 55 ${TESTJAVA}/bin/java -XX:-PrintVMOptions -XX:+IgnoreUnrecognizedVMOptions ${TESTVMOPTS} Test6890943 < input6890943.txt > pretest.out 2>&1
56
57 # This test sometimes tickles an unrelated performance warning that interferes with diff.
58 grep -v 'warning: Performance bug: SystemDictionary' pretest.out > test.out
56 59
57 diff output6890943.txt test.out 60 diff output6890943.txt test.out
58 61
59 result=$? 62 result=$?
60 if [ $result -eq 0 ] 63 if [ $result -eq 0 ]

mercurial