From 8accd3b2190d0527ec0d848c877b1a68abaac28c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 22 Oct 2025 06:55:02 +0900 Subject: internal/app/shim: use syscall dispatcher This enables instrumented testing of the shim. Signed-off-by: Ophestra --- internal/app/app_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/app/app_test.go') diff --git a/internal/app/app_test.go b/internal/app/app_test.go index 3f3d2983..cb3023be 100644 --- a/internal/app/app_test.go +++ b/internal/app/app_test.go @@ -574,10 +574,9 @@ func (s stubOsFileReadCloser) Stat() (fs.FileInfo, error) { panic("attempting to type stubNixOS struct { usernameErr map[string]error + panicDispatcher } -func (k *stubNixOS) new(func(k syscallDispatcher)) { panic("not implemented") } - func (k *stubNixOS) getpid() int { return 0xdeadbeef } func (k *stubNixOS) getuid() int { return 1971 } func (k *stubNixOS) getgid() int { return 100 } -- cgit v1.3.1