NoExtNPE.sh revision 935
935N/A# Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. 935N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 935N/A# This code is free software; you can redistribute it and/or modify it 935N/A# under the terms of the GNU General Public License version 2 only, as 935N/A# published by the Free Software Foundation. 935N/A# This code is distributed in the hope that it will be useful, but WITHOUT 935N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 935N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 935N/A# version 2 for more details (a copy is included in the LICENSE file that 935N/A# accompanied this code). 935N/A# You should have received a copy of the GNU General Public License version 935N/A# 2 along with this work; if not, write to the Free Software Foundation, 935N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 935N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 935N/A# @summary keytool cannot -printcert entries without extensions 935N/A# set a few environment variables so that the shell-script can run stand-alone 935N/A# in the source directory 935N/Aif [
"${TESTSRC}" =
"" ] ;
then 935N/Aif [
"${TESTJAVA}" =
"" ] ;
then 935N/A echo "TESTJAVA not set. Test cannot execute." 935N/A# set platform-dependent variables 935N/A echo "Unrecognized system!"