jdk/test/java/awt/Toolkit/BadDisplayTest/BadDisplayTest.sh
changeset 17143 8c04982f62b3
parent 14160 249b30c4dea8
child 22965 78610fb00fff
equal deleted inserted replaced
17142:ccc30e8c6d91 17143:8c04982f62b3
     1 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 #
     3 #
     4 # This code is free software; you can redistribute it and/or modify it
     4 # This code is free software; you can redistribute it and/or modify it
     5 # under the terms of the GNU General Public License version 2 only, as
     5 # under the terms of the GNU General Public License version 2 only, as
     6 # published by the Free Software Foundation.
     6 # published by the Free Software Foundation.
    20 # questions.
    20 # questions.
    21 
    21 
    22 ${TESTJAVA}/bin/javac -cp ${TESTSRC} -d . ${TESTSRC}/BadDisplayTest.java
    22 ${TESTJAVA}/bin/javac -cp ${TESTSRC} -d . ${TESTSRC}/BadDisplayTest.java
    23 
    23 
    24 
    24 
    25 export DISPLAY=
    25 DISPLAY=
       
    26 export DISPLAY
    26 
    27 
    27 OS=`uname -s`
    28 OS=`uname -s`
    28 case "$OS" in
    29 case "$OS" in
    29   SunOS )
    30   SunOS )
    30     ${TESTJAVA}/bin/java BadDisplayTest
    31     ${TESTJAVA}/bin/java BadDisplayTest