Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752651512, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"06db0f7ed1e3271a1d6661ff26638aeb", "commit": {"type":"commit", "time": 1486365909, "time_ofs": 60, "oid_tree": { "oid": "07c009331c42e4085f71ddb76fc497448027ecba", "alias": []}, "oid":{ "oid": "e05a453f6af2debbc868136a9760fec78fbd0c53", "alias": []}, "msg": "Rename 90-test_fuzz.t to 99-test_fuzz.t to ensure that it's executed last.", "sig_commit": { "git_time": { "time": 1486365909, "offset": 60 }, "name": "Andy Polyakov", "email": "appro@openssl.org", "md5": "50bd64fa2a792cbbf679fa16213a3b2a" }, "sig_author": { "git_time": { "time": 1486126822, "offset": 60 }, "name": "Andy Polyakov", "email": "appro@openssl.org", "md5": "50bd64fa2a792cbbf679fa16213a3b2a" }}, "body": "Rename 90-test_fuzz.t to 99-test_fuzz.t to ensure that it's executed last.\n\nIdea is to keep it last for all eternity, so that if you find yourself\nin time-pressed situation and deem that fuzz test can be temporarily\nskipped, you can terminate the test suite with less hesitation about\nfollowing tests that you would have originally missed.\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\n" , "diff": "diff --git a/test/recipes/90-test_fuzz.t b/test/recipes/90-test_fuzz.t\ndeleted file mode 100755\nindex 75248ef..0000000\n--- a/test/recipes/90-test_fuzz.t\n+++ /dev/null\n@@ -1,40 +0,0 @@\n-#!/usr/bin/env perl\n-# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.\n-#\n-# Licensed under the OpenSSL license (the \u0022License\u0022). You may not use\n-# this file except in compliance with the License. You can obtain a copy\n-# in the file LICENSE in the source distribution or at\n-# https://www.openssl.org/source/license.html\n-\n-use strict;\n-use warnings;\n-\n-use if $^O ne \u0022VMS\u0022, 'File::Glob' \u003d\u003e qw/glob/;\n-use OpenSSL::Test qw/:DEFAULT srctop_file/;\n-use OpenSSL::Test::Utils;\n-\n-setup(\u0022test_fuzz\u0022);\n-\n-my @fuzzers \u003d ('asn1', 'asn1parse', 'bignum', 'bndiv', 'client', 'conf', 'crl', 'server', 'x509');\n-if (!disabled(\u0022cms\u0022)) {\n- push @fuzzers, 'cms';\n-}\n-if (!disabled(\u0022ct\u0022)) {\n- push @fuzzers, 'ct';\n-}\n-plan tests \u003d\u003e scalar @fuzzers;\n-\n-foreach my $f (@fuzzers) {\n- subtest \u0022Fuzzing $f\u0022 \u003d\u003e sub {\n- my @files \u003d glob(srctop_file('fuzz', 'corpora', $f, '*'));\n- push @files, glob(srctop_file('fuzz', 'corpora', \u0022$f-*\u0022, '*'));\n-\n- plan skip_all \u003d\u003e \u0022No corpora for $f-test\u0022 unless @files;\n-\n- plan tests \u003d\u003e scalar @files;\n-\n- foreach (@files) {\n- ok(run(fuzz([\u0022$f-test\u0022, $_])));\n- }\n- }\n-}\ndiff --git a/test/recipes/99-test_fuzz.t b/test/recipes/99-test_fuzz.t\nnew file mode 100755\nindex 0000000..75248ef\n--- /dev/null\n+++ b/test/recipes/99-test_fuzz.t\n@@ -0,0 +1,40 @@\n+#!/usr/bin/env perl\n+# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.\n+#\n+# Licensed under the OpenSSL license (the \u0022License\u0022). You may not use\n+# this file except in compliance with the License. You can obtain a copy\n+# in the file LICENSE in the source distribution or at\n+# https://www.openssl.org/source/license.html\n+\n+use strict;\n+use warnings;\n+\n+use if $^O ne \u0022VMS\u0022, 'File::Glob' \u003d\u003e qw/glob/;\n+use OpenSSL::Test qw/:DEFAULT srctop_file/;\n+use OpenSSL::Test::Utils;\n+\n+setup(\u0022test_fuzz\u0022);\n+\n+my @fuzzers \u003d ('asn1', 'asn1parse', 'bignum', 'bndiv', 'client', 'conf', 'crl', 'server', 'x509');\n+if (!disabled(\u0022cms\u0022)) {\n+ push @fuzzers, 'cms';\n+}\n+if (!disabled(\u0022ct\u0022)) {\n+ push @fuzzers, 'ct';\n+}\n+plan tests \u003d\u003e scalar @fuzzers;\n+\n+foreach my $f (@fuzzers) {\n+ subtest \u0022Fuzzing $f\u0022 \u003d\u003e sub {\n+ my @files \u003d glob(srctop_file('fuzz', 'corpora', $f, '*'));\n+ push @files, glob(srctop_file('fuzz', 'corpora', \u0022$f-*\u0022, '*'));\n+\n+ plan skip_all \u003d\u003e \u0022No corpora for $f-test\u0022 unless @files;\n+\n+ plan tests \u003d\u003e scalar @files;\n+\n+ foreach (@files) {\n+ ok(run(fuzz([\u0022$f-test\u0022, $_])));\n+ }\n+ }\n+}\n","s":{"c":1752651512,"u": 26583}} ],"g": 28195,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}