projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo in CONTRIBUTING.md
[openssl.git]
/
test
/
recipes
/
30-test_evp_extra.t
diff --git
a/test/recipes/30-test_evp_extra.t
b/test/recipes/30-test_evp_extra.t
index 9a656b0bcbe2cbf3b03a00a4720fb890ca39a926..25c2509ed88b924bd863de381443835b0eb7b09f 100644
(file)
--- a/
test/recipes/30-test_evp_extra.t
+++ b/
test/recipes/30-test_evp_extra.t
@@
-1,7
+1,7
@@
#! /usr/bin/env perl
#! /usr/bin/env perl
-# Copyright 2015-20
16
The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2015-20
21
The OpenSSL Project Authors. All Rights Reserved.
#
#
-# Licensed under the
OpenSSL license
(the "License"). You may not use
+# Licensed under the
Apache License 2.0
(the "License"). You may not use
# 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
# 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
@@
-10,9
+10,15
@@
use strict;
use warnings;
use strict;
use warnings;
-use OpenSSL::Test;
+use OpenSSL::Test
qw/:DEFAULT bldtop_dir/
;
setup("test_evp_extra");
setup("test_evp_extra");
-plan tests => 1;
+plan tests => 3;
+
ok(run(test(["evp_extra_test"])), "running evp_extra_test");
ok(run(test(["evp_extra_test"])), "running evp_extra_test");
+
+# 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");
+
+ok(run(test(["evp_extra_test2"])), "running evp_extra_test2");