Cross Reference: RmiBootstrapTest.sh
xref
: /
openjdk7
/
jdk
/
test
/
sun
/
management
/
jmxremote
/
bootstrap
/
RmiBootstrapTest.sh
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
RmiBootstrapTest.sh revision 0
0
N/A
#
0
N/A
# Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
0
N/A
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0
N/A
#
0
N/A
# This code is free software; you can redistribute it
and
/
or
modify it
0
N/A
# under the terms of the GNU General Public License version 2 only, as
0
N/A
# published by the Free Software Foundation.
0
N/A
#
0
N/A
# This code is distributed in the hope that it will be useful, but WITHOUT
0
N/A
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0
N/A
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0
N/A
# version 2 for more details (a copy is included in the LICENSE file that
0
N/A
# accompanied this code).
0
N/A
#
0
N/A
# You should have received a copy of the GNU General Public License version
0
N/A
# 2 along with this work; if not, write to the Free Software Foundation,
0
N/A
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0
N/A
#
0
N/A
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0
N/A
# CA 95054 USA or visit
www.sun.com
if you need additional information or
0
N/A
# have any questions.
0
N/A
#
0
N/A
0
N/A
#
0
N/A
# @test
0
N/A
# @bug 6528083
0
N/A
# @summary Test RMI Bootstrap
0
N/A
#
0
N/A
# @build TestLogger RmiBootstrapTest Utils
0
N/A
# @run
shell
/
timeout
=300
RmiBootstrapTest.sh
0
N/A
0
N/A
# Define the Java class test name
0
N/A
TESTCLASS
=
"RmiBootstrapTest"
0
N/A
export
TESTCLASS
0
N/A
0
N/A
# Source in utility shell script to generate and remove .properties and .acl files
0
N/A
. ${
TESTSRC
}/
GeneratePropertyPassword.sh
0
N/A
0
N/A
generatePropertyPasswordFiles
`
ls
${
TESTSRC
}/*
_test
*.
in
`
0
N/A
0
N/A
rm
-
rf
${
TESTCLASSES
}/
ssl
0
N/A
mkdir
-p ${
TESTCLASSES
}/
ssl
0
N/A
cp
-
rf
${
TESTSRC
}/
ssl
/*
store
${
TESTCLASSES
}/
ssl
0
N/A
chmod
-R
777
${
TESTCLASSES
}/
ssl
0
N/A
0
N/A
DEBUGOPTIONS
=
""
0
N/A
export
DEBUGOPTIONS
0
N/A
0
N/A
# Call the common generic test
0
N/A
#
0
N/A
# No need to since bug 4267864 is now fixed.
0
N/A
#
0
N/A
echo
-------------------------------------------------------------
0
N/A
echo
Launching
test
for
`
basename
$
0
.
sh
`
0
N/A
echo
-------------------------------------------------------------
0
N/A
sh
${
TESTSRC
}/../
RunTest.sh
${
DEBUGOPTIONS
} ${
TESTCLASS
}
0
N/A
result
=$?
0
N/A
restoreFilePermissions
`
ls
${
TESTSRC
}/*
_test
*.
in
`
0
N/A
exit
$result