xref: /openssl/test/recipes/90-test_rpk.t (revision 3c95ef22)
1#! /usr/bin/env perl
2# Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (the "License").  You may not use
5# this file except in compliance with the License.  You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
9use OpenSSL::Test::Utils;
10use OpenSSL::Test qw/:DEFAULT srctop_dir bldtop_dir/;
11
12BEGIN {
13    setup("test_rpk");
14}
15
16use lib srctop_dir('Configurations');
17use lib bldtop_dir('.');
18
19plan skip_all => "RPK is disabled in this OpenSSL build" if disabled("tls1_2") && disabled("tls1_3");
20
21plan tests => 1;
22
23ok(run(test(["rpktest", srctop_dir("test", "certs")])), "running rpktest");
24