2016-04-22 19:21:51 +08:00
|
|
|
#! /usr/bin/env perl
|
2020-06-25 21:13:12 +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;
|
|
|
|
|
2019-03-21 19:57:35 +08:00
|
|
|
use OpenSSL::Test qw/:DEFAULT bldtop_dir/;
|
2015-04-18 02:16:13 +08:00
|
|
|
|
|
|
|
setup("test_evp_extra");
|
|
|
|
|
2021-03-09 18:42:57 +08:00
|
|
|
plan tests => 3;
|
2019-03-21 19:57:35 +08:00
|
|
|
|
2015-04-18 02:16:13 +08:00
|
|
|
ok(run(test(["evp_extra_test"])), "running evp_extra_test");
|
2021-03-09 18:42:57 +08:00
|
|
|
|
|
|
|
# Run tests with a non-default library context
|
|
|
|
ok(run(test(["evp_extra_test", "-context"])), "running evp_extra_test with a non-default library context");
|
|
|
|
|
2020-06-16 00:48:39 +08:00
|
|
|
ok(run(test(["evp_extra_test2"])), "running evp_extra_test2");
|