• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /usr/bin/env perl
2# Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (the "License").  You may not use
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
10use OpenSSL::Test;
11use OpenSSL::Test::Utils;
12use OpenSSL::Test qw/:DEFAULT data_file srctop_file bldtop_dir/;
13use Cwd qw(abs_path);
14
15setup("test_external_krb5");
16
17plan skip_all => "No external tests in this configuration"
18    if disabled("external-tests");
19plan skip_all => "krb5 not available"
20    if ! -f srctop_file("krb5", "src", "configure.ac");
21
22plan tests => 1;
23
24$ENV{OPENSSL_MODULES} = abs_path(bldtop_dir("providers"));
25$ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default-and-legacy.cnf"));
26
27ok(run(cmd([data_file("krb5.sh")])), "running krb5 tests");
28