2
0

99-test_fuzz_ct.t 703 B

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