diff --git a/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh b/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh index f4a54d300c708470494973871f381b3ac8828a28..e58072890c13afacd2f3f25e703d46f1bd8724a4 100644 --- a/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh +++ b/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh @@ -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