summaryrefslogtreecommitdiffstats
path: root/test/recipes/99-test_fuzz_dtlsserver.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/99-test_fuzz_dtlsserver.t')
-rw-r--r--test/recipes/99-test_fuzz_dtlsserver.t25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/recipes/99-test_fuzz_dtlsserver.t b/test/recipes/99-test_fuzz_dtlsserver.t
new file mode 100644
index 0000000000..665d744bb6
--- /dev/null
+++ b/test/recipes/99-test_fuzz_dtlsserver.t
@@ -0,0 +1,25 @@
+#!/usr/bin/env perl
+# Copyright 2024 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 = "dtlsserver";
+setup("test_fuzz_${fuzzer}");
+
+plan skip_all => "This test requires dtls support"
+ if disabled("dtls");
+
+plan tests => 2; # one more due to below require_ok(...)
+
+require_ok(srctop_file('test','recipes','fuzz.pl'));
+
+fuzz_ok($fuzzer);