531N/A#! /bin/sh
531N/A
531N/A#
2362N/A# Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
531N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
531N/A#
531N/A# This code is free software; you can redistribute it and/or modify it
531N/A# under the terms of the GNU General Public License version 2 only, as
531N/A# published by the Free Software Foundation.
531N/A#
531N/A# This code is distributed in the hope that it will be useful, but WITHOUT
531N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
531N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
531N/A# version 2 for more details (a copy is included in the LICENSE file that
531N/A# accompanied this code).
531N/A#
531N/A# You should have received a copy of the GNU General Public License version
531N/A# 2 along with this work; if not, write to the Free Software Foundation,
531N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
531N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
531N/A#
531N/A
531N/Aif [ "x$TESTJAVA" = x ]; then
531N/A TESTJAVA=$1; shift
531N/A TESTCLASSES=.
531N/A TESTSRC=.
531N/Afi
531N/Aexport TESTJAVA
531N/A
531N/Acase "`uname`" in Windows*|CYGWIN* ) PS=';';; *) PS=':';; esac
531N/A
531N/A${TESTJAVA}/bin/javac -d ${TESTCLASSES} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} ${TESTSRC}/TestExtcheckArgs.java
531N/Arc=$?
531N/Aif [ $rc != 0 ]; then
531N/A echo Compilation failure with exit status $rc
531N/A exit $rc
531N/Afi
531N/A
531N/A${TESTJAVA}/bin/java -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} TestExtcheckArgs
531N/Arc=$?
531N/Aif [ $rc != 0 ]; then
531N/A echo Execution failure with exit status $rc
531N/A exit $rc
531N/Afi