test/jdk/sun/security/krb5/auto/rcache_usemd5.sh
author ssahoo
Thu, 25 Jan 2018 05:57:22 -0800
changeset 48668 2da4a52715d8
parent 47216 71c04702a3d5
permissions -rw-r--r--
8194486: Several krb5 tests failed in Mac. Summary: Several tests failed due to improper host service Reviewed-by: weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41832
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     1
#
48668
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
     2
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
41832
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     4
#
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     7
# published by the Free Software Foundation.
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     8
#
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    13
# accompanied this code).
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    14
#
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    18
#
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    21
# questions.
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    22
#
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    23
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    24
# @test
48668
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    25
# @bug 8168518 8194486
41832
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    26
# @summary  testing jdk.krb5.rcache.useMD5. This action is put in a separate
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    27
#           test so that ReplayCacheTestProc.java can be launched with special
15db944958a7 8168518: rcache interop with krb5-1.15
weijun
parents:
diff changeset
    28
#           test.* system properties easily.
48668
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    29
# @library ../../../../java/security/testlibrary/ /test/lib
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    30
# @build jdk.test.lib.Platform
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    31
# @run main jdk.test.lib.FileInstaller TestHosts TestHosts
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    32
# @run main/othervm/timeout=300 -Djdk.krb5.rcache.useMD5=true
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    33
#           -Djdk.net.hosts.file=TestHosts
2da4a52715d8 8194486: Several krb5 tests failed in Mac.
ssahoo
parents: 47216
diff changeset
    34
#           -Dtest.service=host ReplayCacheTestProc