From 996b42634dba83a488d0ac67eac954c0b5582c71 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 27 Mar 2025 03:09:16 +0900 Subject: test/sandbox: invoke check program directly Signed-off-by: Ophestra --- test/sandbox/assert.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sandbox/assert.nix') diff --git a/test/sandbox/assert.nix b/test/sandbox/assert.nix index e3aeb063..78711086 100644 --- a/test/sandbox/assert.nix +++ b/test/sandbox/assert.nix @@ -24,7 +24,7 @@ buildGoModule { import "os" import "git.gensokyo.uk/security/fortify/test/sandbox" - func main() { (&sandbox.T{FS: os.DirFS("/")}).MustCheckFile(os.Args[1]) } + func main() { (&sandbox.T{FS: os.DirFS("/")}).MustCheckFile(os.Args[1], "/tmp/sandbox-ok") } ''} main.go ''; } -- cgit v1.3.1