summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-04-12 16:24:43 -0500
committerRichard Levitte <levitte@openssl.org>2017-05-08 21:20:32 +0200
commitfa3ed5b2c2b508a6444124fdf12ecbb4898007ed (patch)
tree265f523c196ed1a61b37892366114143e2c228c1 /test/recipes
parent44612e0a817d1cf25df776b00993820f612f3cd3 (diff)
Add unit test for PEM_FLAG_ONLY_B64
Get some trivial test coverage that this flag does what it claims to. [extended tests] Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1700)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/04-test_pem.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/recipes/04-test_pem.t b/test/recipes/04-test_pem.t
index 23d1ef8a93..c37c98738b 100644
--- a/test/recipes/04-test_pem.t
+++ b/test/recipes/04-test_pem.t
@@ -76,7 +76,7 @@ my %dsa_expected = (
"dsa.pem" => 1
);
-plan tests => scalar keys(%cert_expected) + scalar keys(%dsa_expected) + 1;
+plan tests => scalar keys(%cert_expected) + scalar keys(%dsa_expected) + 2;
foreach my $input (keys %cert_expected) {
my @common = ($cmd, "x509", "-text", "-noout", "-inform", "PEM", "-in");
@@ -100,3 +100,5 @@ SKIP: {
my @match = grep /00:a0:3a:21:14:5d:cd:b6:d5:a0:3e:49:23:c1:3a:/, @data;
ok(scalar @match > 0 ? 1 : 0);
}
+
+ok(run(test(["pemtest"])), "running pemtest");