diff options
author | Max Ammann <max@maxammann.org> | 2023-10-03 12:22:02 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-24 11:56:41 +0200 |
commit | f3b988dc29512d6575ff435e1ff7c1b66d97051e (patch) | |
tree | 706a796e1263ce953e00cd150a614f6441d06913 /test | |
parent | b9e084f139c53ce133e66aba2f523c680141c0e6 (diff) | |
download | openssl-f3b988dc29512d6575ff435e1ff7c1b66d97051e.zip openssl-f3b988dc29512d6575ff435e1ff7c1b66d97051e.tar.gz openssl-f3b988dc29512d6575ff435e1ff7c1b66d97051e.tar.bz2 |
Add provider fuzzer
Test recipe 99-test_fuzz_provider.t added.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22964)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/99-test_fuzz_provider.t | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/recipes/99-test_fuzz_provider.t b/test/recipes/99-test_fuzz_provider.t new file mode 100644 index 0000000..eab99b8 --- /dev/null +++ b/test/recipes/99-test_fuzz_provider.t @@ -0,0 +1,22 @@ +#!/usr/bin/env perl +# Copyright 2016-2023 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 strict; +use warnings; + +use OpenSSL::Test qw/:DEFAULT srctop_file/; +use OpenSSL::Test::Utils; + +my $fuzzer = "provider"; +setup("test_fuzz_${fuzzer}"); + +plan tests => 2; # one more due to below require_ok(...) + +require_ok(srctop_file('test','recipes','fuzz.pl')); + +fuzz_ok($fuzzer); |