99-test_fuzz_dtlsserver.t 702 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env perl
  2. # Copyright 2024 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. use strict;
  9. use warnings;
  10. use OpenSSL::Test qw/:DEFAULT srctop_file/;
  11. use OpenSSL::Test::Utils;
  12. my $fuzzer = "dtlsserver";
  13. setup("test_fuzz_${fuzzer}");
  14. plan skip_all => "This test requires dtls support"
  15. if disabled("dtls");
  16. plan tests => 2; # one more due to below require_ok(...)
  17. require_ok(srctop_file('test','recipes','fuzz.pl'));
  18. fuzz_ok($fuzzer);