From 0ee915a4b77193b4191d2d6d0193ead51638ed67 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 16 May 2020 14:02:18 +0200 Subject: pkg/runtest: disable broken test combinations Amusingly this was always broken but nobody was ever able to compile 32-bit binaries on Linux since the addition of the tests. --- sys/test/test/align0 | 3 +++ sys/test/test/bf | 3 +++ sys/test/test/bf2 | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/test/test/align0 b/sys/test/test/align0 index 426b6e2de..a73ca98a5 100644 --- a/sys/test/test/align0 +++ b/sys/test/test/align0 @@ -1,3 +1,6 @@ +# 32_shmem has 4-byte alignment for int64 and everything goes havoc. +# requires: -arch=32_shmem + syz_compare(&AUTO="010000000200000003000400000000000500000000000000", 0x18, &AUTO=@align0={0x1, 0x2, 0x3, 0x4, 0x5}, AUTO) syz_compare(&AUTO="", 0x18, &AUTO=@align0={0x0, 0x0, 0x0, 0x0, 0x0}, 0x17) # EBADF syz_compare(&AUTO="", 0x18, &AUTO=@align0={0x1, 0x0, 0x0, 0x0, 0x0}, AUTO) # EINVAL diff --git a/sys/test/test/bf b/sys/test/test/bf index 6527e5ff2..b1a251e66 100644 --- a/sys/test/test/bf +++ b/sys/test/test/bf @@ -1,3 +1,6 @@ +# 32_shmem has 4-byte alignment for int64 and everything goes havoc. +# requires: -arch=32_shmem + syz_compare(&AUTO="ab03000000000000cdcdcdcdcdcdcdcdebffff03ab0303abaa00000000000000", 0x20, &AUTO=@bf0={0xabab, 0xcdcdcdcdcdcdcdcd, 0xabab, 0xffff, 0xffffff, 0xabab, 0xabab, 0xaaa}, AUTO) syz_compare(&AUTO="dcfcde563422f10e", 0x8, &AUTO=@bf2={0x0abc, 0x0bcd, 0xcdef, 0x123456, 0x78ef12}, AUTO) syz_compare(&AUTO="0ef1223456defcdc", 0x8, &AUTO=@bf3={0x0abc, 0x0bcd, 0xcdef, 0x123456, 0x78ef12}, AUTO) diff --git a/sys/test/test/bf2 b/sys/test/test/bf2 index 5d15a10f1..1f5f71877 100644 --- a/sys/test/test/bf2 +++ b/sys/test/test/bf2 @@ -1,4 +1,5 @@ -# TODO: all these results are wrong, correct answers are: +# 32_shmem has 4-byte alignment for int64 and everything goes havoc. +# requires: -arch=32_shmem syz_compare(&AUTO="1200000034067800", AUTO, &AUTO=@bf4={0x12, {0x34, 0x56, 0x78}}, AUTO) syz_compare(&AUTO="1200000034060000", AUTO, &AUTO=@bf5={0x12, {0x34, 0x56}}, AUTO) -- cgit mrf-deployment