diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-27 03:09:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-27 03:11:50 +0900 |
| commit | 996b42634dba83a488d0ac67eac954c0b5582c71 (patch) | |
| tree | 04eb4b05bc6929b1cffb39b5aac345a5423efb86 /test/sandbox/assert.nix | |
| parent | 300571af4777c8322bc0c7fafdf18a5879c237e6 (diff) | |
test/sandbox: invoke check program directly
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/assert.nix')
| -rw-r--r-- | test/sandbox/assert.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 ''; } |
