test/sandbox: separate test tool source

This improves readability and allows gofmt to format the file.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-27 23:43:13 +09:00
parent a102178019
commit d97a03c7c6
4 changed files with 35 additions and 48 deletions

View File

@@ -0,0 +1,9 @@
package main
import (
"os"
"git.gensokyo.uk/security/fortify/test/sandbox"
)
func main() { (&sandbox.T{FS: os.DirFS("/")}).MustCheckFile(os.Args[1], "/tmp/sandbox-ok") }