--- old/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh 2013-04-22 16:09:13.633497656 +0400 +++ new/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh 2013-04-22 16:09:13.404433335 +0400 @@ -1,4 +1,4 @@ -# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2012, 2013, 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 @@ -22,7 +22,8 @@ ${TESTJAVA}/bin/javac -cp ${TESTSRC} -d . ${TESTSRC}/BadDisplayTest.java -export DISPLAY= +DISPLAY= +export DISPLAY OS=`uname -s` case "$OS" in