95-test_external_krb5.t 725 B

1234567891011121314151617181920212223
  1. #! /usr/bin/env perl
  2. # Copyright 2017 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. use OpenSSL::Test;
  9. use OpenSSL::Test::Utils;
  10. use OpenSSL::Test qw/:DEFAULT data_file srctop_file/;
  11. setup("test_external_krb5");
  12. plan skip_all => "No external tests in this configuration"
  13. if disabled("external-tests");
  14. plan skip_all => "krb5 not available"
  15. if ! -f srctop_file("krb5", "README");
  16. plan tests => 1;
  17. ok(run(cmd([data_file("krb5.sh")])), "running krb5 tests");