summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-14 14:27:04 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-14 14:27:04 +0100
commit52d4d1d339c405818c80960f981ede337785c0da (patch)
treea3ffbfe4d2ea9b6fdf1188bbd16effd6dd953372 /test
parentMerge pull request #8423 from keszybz/unit-file-fuzzer (diff)
downloadsystemd-52d4d1d339c405818c80960f981ede337785c0da.tar.xz
systemd-52d4d1d339c405818c80960f981ede337785c0da.zip
test: run all fuzz regression tests with all sanitizers
We currently have just one sanitizer for tests, asan, but we may add more in the future. So let's keep the loop over the sanitizers in meson.build, but just enable all regression cases under all sanitizers. If it fails under one of them, it might fail under a different one. In subsequent commits I'll add test cases which might not fail under asan, but it's good to commit them for future use. The test names are made more verbose: 256/257 fuzz-dns-packet:oss-fuzz-5465:address OK 0.04 s 257/257 fuzz-dns-packet:issue-7888:address OK 0.03 s
Diffstat (limited to 'test')
-rw-r--r--test/fuzz-regressions/fuzz-dns-packet/issue-7888 (renamed from test/fuzz-regressions/address/fuzz-dns-packet/issue-7888)bin25 -> 25 bytes
-rw-r--r--test/fuzz-regressions/fuzz-dns-packet/oss-fuzz-5465 (renamed from test/fuzz-regressions/address/fuzz-dns-packet/oss-fuzz-5465)bin24 -> 24 bytes
-rw-r--r--test/fuzz-regressions/meson.build6
3 files changed, 4 insertions, 2 deletions
diff --git a/test/fuzz-regressions/address/fuzz-dns-packet/issue-7888 b/test/fuzz-regressions/fuzz-dns-packet/issue-7888
index 19e7eedf51..19e7eedf51 100644
--- a/test/fuzz-regressions/address/fuzz-dns-packet/issue-7888
+++ b/test/fuzz-regressions/fuzz-dns-packet/issue-7888
Binary files differ
diff --git a/test/fuzz-regressions/address/fuzz-dns-packet/oss-fuzz-5465 b/test/fuzz-regressions/fuzz-dns-packet/oss-fuzz-5465
index ccd8a4fd6b..ccd8a4fd6b 100644
--- a/test/fuzz-regressions/address/fuzz-dns-packet/oss-fuzz-5465
+++ b/test/fuzz-regressions/fuzz-dns-packet/oss-fuzz-5465
Binary files differ
diff --git a/test/fuzz-regressions/meson.build b/test/fuzz-regressions/meson.build
index de69c941ea..25ec51148b 100644
--- a/test/fuzz-regressions/meson.build
+++ b/test/fuzz-regressions/meson.build
@@ -24,7 +24,9 @@ sanitize_address = custom_target(
'fuzzers',
'-Db_lundef=false -Db_sanitize=address'])
+sanitizers = [['address', sanitize_address]]
+
fuzz_regression_tests = '''
- address/fuzz-dns-packet/oss-fuzz-5465
- address/fuzz-dns-packet/issue-7888
+ fuzz-dns-packet/oss-fuzz-5465
+ fuzz-dns-packet/issue-7888
'''.split()