Debian Codegraph @

debian/patches/0002-Skip-TestNotif-on-32bit-system.patch

raw symbols SCIP
1 From: Shengjing Zhu <[email protected]>
2 Date: Tue, 14 Jun 2022 03:34:52 +0800
3 Subject: Skip TestNotif on 32bit system
4
5 ---
6 seccomp_test.go | 4 ++++
7 1 file changed, 4 insertions(+)
8
9 diff --git a/seccomp_test.go b/seccomp_test.go
10 index ba0a9ae..bdc15df 100644
11 --- a/seccomp_test.go
12 +++ b/seccomp_test.go
13 @@ -7,6 +7,7 @@ import (
14 "errors"
15 "fmt"
16 "io"
17 + "math/bits"
18 "os"
19 "os/exec"
20 "runtime"
21 @@ -904,6 +905,9 @@ func notifHandler(ch chan error, fd ScmpFd, tests []notifTest) {
22 }
23
24 func TestNotif(t *testing.T) {
25 + if bits.UintSize == 32 {
26 + t.Skip("not working on 32bit system")
27 + }
28 execInSubprocess(t, subprocessNotif)
29 }
30