summaryrefslogtreecommitdiffstats
path: root/test/recipes/60-test_x509_acert.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/60-test_x509_acert.t')
-rw-r--r--test/recipes/60-test_x509_acert.t24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/recipes/60-test_x509_acert.t b/test/recipes/60-test_x509_acert.t
new file mode 100644
index 0000000000..2bf58d6a6f
--- /dev/null
+++ b/test/recipes/60-test_x509_acert.t
@@ -0,0 +1,24 @@
+#! /usr/bin/env perl
+# Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
+#
+# 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
+
+use OpenSSL::Test::Utils;
+use OpenSSL::Test qw/:DEFAULT srctop_file/;
+
+setup("test_x509_acert");
+
+plan skip_all => "test_x509_acert uses ec which is not supported by this build"
+ if disabled("ec");
+
+plan tests => 1;
+
+ok(run(test(["x509_acert_test", srctop_file("test", "certs", "acert.pem"),
+ srctop_file("test", "certs", "acert_ietf.pem"),
+ srctop_file("test", "certs", "acert_bc1.pem"),
+ srctop_file("test", "certs", "acert_bc2.pem")])),
+ "running x509_acert_test");
+