From 4d31e3fc36bb6fad04b121ff59f31ad9ea7bd418 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 23 Nov 2026 18:10:54 +0900 Subject: all: support testing via qemu This adds the qemu build tag which disables tests unsupported on QEMU. Signed-off-by: Ophestra --- container/seccomp/std_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'container/seccomp') diff --git a/container/seccomp/std_test.go b/container/seccomp/std_test.go index 93b5613c..4b90badf 100644 --- a/container/seccomp/std_test.go +++ b/container/seccomp/std_test.go @@ -16,9 +16,12 @@ func TestSyscallResolveName(t *testing.T) { t.Run(name, func(t *testing.T) { t.Parallel() - // this checks the std implementation against libseccomp. + // this checks the ext implementation against libseccomp. if got, ok := syscallResolveName(name); !ok || got != want { - t.Errorf("syscallResolveName(%q) = %d, want %d", name, got, want) + t.Errorf( + "seccomp_syscall_resolve_name(%q) = %d, want %d", + name, got, want, + ) } }) } -- cgit v1.3.1