From: Shengjing Zhu Date: Tue, 14 Jun 2022 03:34:52 +0800 Subject: Skip TestNotif on 32bit system --- seccomp_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seccomp_test.go b/seccomp_test.go index ba0a9ae..bdc15df 100644 --- a/seccomp_test.go +++ b/seccomp_test.go @@ -7,6 +7,7 @@ import ( "errors" "fmt" "io" + "math/bits" "os" "os/exec" "runtime" @@ -904,6 +905,9 @@ func notifHandler(ch chan error, fd ScmpFd, tests []notifTest) { } func TestNotif(t *testing.T) { + if bits.UintSize == 32 { + t.Skip("not working on 32bit system") + } execInSubprocess(t, subprocessNotif) }