aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/syscall_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/seccomp/syscall_test.go')
-rw-r--r--container/seccomp/syscall_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/container/seccomp/syscall_test.go b/container/seccomp/syscall_test.go
index 933f060b..e385a12c 100644
--- a/container/seccomp/syscall_test.go
+++ b/container/seccomp/syscall_test.go
@@ -5,15 +5,17 @@ import (
)
func TestSyscallResolveName(t *testing.T) {
+ t.Parallel()
+
for name, want := range Syscalls() {
t.Run(name, func(t *testing.T) {
+ t.Parallel()
+
if got := syscallResolveName(name); got != want {
- t.Errorf("syscallResolveName(%q) = %d, want %d",
- name, got, want)
+ t.Errorf("syscallResolveName(%q) = %d, want %d", name, got, want)
}
if got, ok := SyscallResolveName(name); !ok || got != want {
- t.Errorf("SyscallResolveName(%q) = %d, want %d",
- name, got, want)
+ t.Errorf("SyscallResolveName(%q) = %d, want %d", name, got, want)
}
})
}