Cross Reference: RmiSslBootstrapTest.sh
xref
: /
openjdk7
/
jdk
/
test
/
sun
/
management
/
jmxremote
/
bootstrap
/
RmiSslBootstrapTest.sh
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
0
N/A
#
2362
N/A
# Copyright (c) 2003, 2004, Oracle
and
/
or
its affiliates. 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
#
2362
N/A
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362
N/A
# or visit
www.oracle.com
if you need additional information or have any
2362
N/A
# 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 with SSL
0
N/A
#
0
N/A
# @build TestLogger RmiBootstrapTest Utils
0
N/A
# @run
shell
/
timeout
=300
RmiSslBootstrapTest.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
}/*
_ssltest
*.
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
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
${
TESTCLASSES
}/
management_ssltest
*.
properties
0
N/A
result
=$?
0
N/A
restoreFilePermissions
`
ls
${
TESTSRC
}/*
_ssltest
*.
in
`
0
N/A
exit
$result