| 1 | From: Shengjing Zhu <[email protected]> |
| 2 | Date: Tue, 14 Jun 2022 03:30:34 +0800 |
| 3 | Subject: Skip TestRuleAddAndLoad on ppc64le (Closes: #976943) |
| 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 7524a85..ba0a9ae 100644 |
| 11 | --- a/seccomp_test.go |
| 12 | +++ b/seccomp_test.go |
| 13 | @@ -9,6 +9,7 @@ import ( |
| 14 | "io" |
| 15 | "os" |
| 16 | "os/exec" |
| 17 | + "runtime" |
| 18 | "strings" |
| 19 | "syscall" |
| 20 | "testing" |
| 21 | @@ -600,6 +601,9 @@ func subprocessAddRuleErrors(t *testing.T) { |
| 22 | } |
| 23 | |
| 24 | func TestRuleAddAndLoad(t *testing.T) { |
| 25 | + if runtime.GOARCH == "ppc64le" { |
| 26 | + t.Skip("https://github.com/seccomp/libseccomp-golang/issues/61") |
| 27 | + } |
| 28 | execInSubprocess(t, subprocessRuleAddAndLoad) |
| 29 | } |
| 30 |