xref: /openssl/test/recipes/99-test_fuzz_cms.t (revision a7da4d48)
1#!/usr/bin/env perl
2# Copyright 2016-2020 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 strict;
10use warnings;
11
12use OpenSSL::Test qw/:DEFAULT srctop_file/;
13use OpenSSL::Test::Utils;
14
15my $fuzzer = "cms";
16setup("test_fuzz_${fuzzer}");
17
18plan skip_all => "This test requires $fuzzer support"
19    if disabled($fuzzer);
20
21plan tests => 2; # one more due to below require_ok(...)
22
23require_ok(srctop_file('test','recipes','fuzz.pl'));
24
25fuzz_ok($fuzzer);
26