]>
Commit | Line | Data |
---|---|---|
7c82f567 RH |
1 | #! /usr/bin/env perl |
2 | # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. | |
3 | # | |
909f1a2e | 4 | # Licensed under the Apache License 2.0 (the "License"). You may not use |
7c82f567 RH |
5 | # this file except in compliance with the License. You can obtain a copy |
6 | # in the file LICENSE in the source distribution or at | |
7 | # https://www.openssl.org/source/license.html | |
8 | ||
9 | ||
10 | use OpenSSL::Test; | |
11 | use OpenSSL::Test::Utils; | |
109ef7ae | 12 | use OpenSSL::Test qw/:DEFAULT data_file srctop_file bldtop_dir/; |
450d12c8 | 13 | use Cwd qw(abs_path); |
7c82f567 RH |
14 | |
15 | setup("test_external_krb5"); | |
16 | ||
218712ff | 17 | plan skip_all => "No external tests in this configuration" |
b83ace31 | 18 | if disabled("external-tests"); |
218712ff | 19 | plan skip_all => "krb5 not available" |
b83ace31 | 20 | if ! -f srctop_file("krb5", "README"); |
7c82f567 | 21 | |
b83ace31 | 22 | plan tests => 1; |
7c82f567 | 23 | |
450d12c8 RL |
24 | $ENV{OPENSSL_MODULES} = abs_path($ENV{OPENSSL_MODULES}); |
25 | $ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default-and-legacy.cnf")); | |
109ef7ae | 26 | |
b83ace31 | 27 | ok(run(cmd([data_file("krb5.sh")])), "running krb5 tests"); |