author | weijun |
Tue, 19 May 2015 09:09:09 +0800 | |
changeset 30653 | 6ef1144fd561 |
parent 23010 | 6dadb192ad81 |
permissions | -rw-r--r-- |
14515
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
1 |
# |
23010
6dadb192ad81
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents:
22965
diff
changeset
|
2 |
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
14515
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
4 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
8 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
13 |
# accompanied this code). |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
14 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
15 |
# You should have received a copy of the GNU General Public License version |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
18 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
20 |
# or visit www.oracle.com if you need additional information or have any |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
21 |
# questions. |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
22 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
23 |
|
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
24 |
# @test |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
25 |
# @bug 8002344 |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
26 |
# @summary Krb5LoginModule config class does not return proper KDC list from DNS |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
27 |
# |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
28 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
14515
diff
changeset
|
29 |
env |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
14515
diff
changeset
|
30 |
|
14515
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
31 |
if [ "${TESTJAVA}" = "" ] ; then |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
32 |
JAVAC_CMD=`which javac` |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
33 |
TESTJAVA=`dirname $JAVAC_CMD`/.. |
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
14515
diff
changeset
|
34 |
COMPILEJAVA="${TESTJAVA}" |
14515
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
35 |
fi |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
36 |
|
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
37 |
if [ "${TESTSRC}" = "" ] ; then |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
38 |
TESTSRC="." |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
39 |
fi |
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
40 |
|
15254
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
14515
diff
changeset
|
41 |
$COMPILEJAVA/bin/javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \ |
3997a6f357cb
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
alanb
parents:
14515
diff
changeset
|
42 |
${TESTSRC}/NamingManager.java ${TESTSRC}/DNS.java |
22965
78610fb00fff
8028711: TEST_BUG: Shell tests should pass through VM options
alanb
parents:
15254
diff
changeset
|
43 |
$TESTJAVA/bin/java ${TESTVMOPTS} -Xbootclasspath/p:. DNS |
14515
f67149f8daf6
8002344: Krb5LoginModule config class does not return proper KDC list from DNS
weijun
parents:
diff
changeset
|
44 |