aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/std_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-23 18:10:54 +0900
committerOphestra <cat@gensokyo.uk>2026-11-23 18:10:54 +0900
commit4d31e3fc36bb6fad04b121ff59f31ad9ea7bd418 (patch)
tree828fd0496ab3e3a228ce28fda106233474764ce6 /container/seccomp/std_test.go
parent4299fb68b467773aa93d3985e100a87becb2e38e (diff)
all: support testing via qemu
This adds the qemu build tag which disables tests unsupported on QEMU. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/std_test.go')
-rw-r--r--container/seccomp/std_test.go7
1 files changed, 5 insertions, 2 deletions
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,
+ )
}
})
}