aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/std_test.go
diff options
context:
space:
mode:
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,
+ )
}
})
}