summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-02-20 06:12:59 -0500
committerPauli <ppzgs1@gmail.com>2024-04-24 12:03:30 +1000
commitf597acb71b67bfa8f2e342301ebce2059408ac27 (patch)
tree04a51436e784a4beeedf64647830034a06858125 /test
parentcc4ea5e00028e8e0fe3acbf5027497c077f84446 (diff)
Adding hashtable fuzzer
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23671)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/99-test_fuzz_hashtable.t22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/recipes/99-test_fuzz_hashtable.t b/test/recipes/99-test_fuzz_hashtable.t
new file mode 100644
index 0000000000..090c90c8cb
--- /dev/null
+++ b/test/recipes/99-test_fuzz_hashtable.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 = "hashtable";
+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);