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, 4 insertions, 3 deletions
diff --git a/container/seccomp/std_test.go b/container/seccomp/std_test.go
index 6d548dce..026fef8b 100644
--- a/container/seccomp/std_test.go
+++ b/container/seccomp/std_test.go
@@ -6,12 +6,13 @@ import (
"unsafe"
"hakurei.app/container/std"
+ "hakurei.app/ext"
)
func TestSyscallResolveName(t *testing.T) {
t.Parallel()
- for name, want := range std.Syscalls() {
+ for name, want := range ext.Syscalls() {
t.Run(name, func(t *testing.T) {
t.Parallel()
@@ -24,8 +25,8 @@ func TestSyscallResolveName(t *testing.T) {
}
func TestRuleType(t *testing.T) {
- assertKind[std.Uint, scmpUint](t)
- assertKind[std.Int, scmpInt](t)
+ assertKind[ext.Uint, scmpUint](t)
+ assertKind[ext.Int, scmpInt](t)
assertSize[std.NativeRule, syscallRule](t)
assertKind[std.ScmpDatum, scmpDatum](t)