From d97a03c7c6d723587b6c35c8cbd8b69101d7e93f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 27 Mar 2025 23:43:13 +0900 Subject: test/sandbox: separate test tool source This improves readability and allows gofmt to format the file. Signed-off-by: Ophestra --- test/sandbox/case/main.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/sandbox/case/main.go (limited to 'test/sandbox/case/main.go') diff --git a/test/sandbox/case/main.go b/test/sandbox/case/main.go new file mode 100644 index 00000000..59c80efb --- /dev/null +++ b/test/sandbox/case/main.go @@ -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") } -- cgit v1.3.1