2016-04-22 19:21:51 +08:00
|
|
|
#! /usr/bin/env perl
|
2020-08-06 20:22:30 +08:00
|
|
|
# Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2016-04-22 19:21:51 +08:00
|
|
|
#
|
2018-12-06 20:05:25 +08:00
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-04-22 19:21:51 +08:00
|
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
|
|
# in the file LICENSE in the source distribution or at
|
|
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
|
2015-04-18 02:16:13 +08:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2021-09-22 23:24:09 +08:00
|
|
|
use OpenSSL::Test qw/:DEFAULT srctop_file/;
|
2020-02-13 09:00:57 +08:00
|
|
|
use OpenSSL::Test::Utils;
|
2015-04-18 02:16:13 +08:00
|
|
|
|
|
|
|
setup("test_engine");
|
|
|
|
|
2021-09-22 23:24:09 +08:00
|
|
|
my @path = qw(test certs);
|
|
|
|
|
2020-02-13 09:00:57 +08:00
|
|
|
plan skip_all => "engines are deprecated"
|
|
|
|
if disabled('deprecated-3.0');
|
|
|
|
|
2015-04-18 02:16:13 +08:00
|
|
|
plan tests => 1;
|
2021-09-22 23:24:09 +08:00
|
|
|
ok(run(test(["enginetest", srctop_file(@path, "root-cert.pem")])),
|
|
|
|
"running enginetest");
|