From 75e0c5d4061d68dc4802285ec137e464f4e01b17 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 23 Mar 2025 14:14:45 +0900 Subject: test/sandbox: parse full test case This makes declaring multiple tests much cleaner. Signed-off-by: Ophestra --- test/sandbox/seccomp.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 test/sandbox/seccomp.nix (limited to 'test/sandbox/seccomp.nix') diff --git a/test/sandbox/seccomp.nix b/test/sandbox/seccomp.nix deleted file mode 100644 index 3cf9b582..00000000 --- a/test/sandbox/seccomp.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - writeText, - buildGoModule, - - version, -}: -let - mainFile = writeText "main.go" '' - package main - - import "git.gensokyo.uk/security/fortify/test/sandbox" - - func main() { sandbox.MustAssertSeccomp() } - ''; -in -buildGoModule { - pname = "check-seccomp"; - inherit version; - - src = ../.; - vendorHash = null; - - preBuild = '' - go mod init git.gensokyo.uk/security/fortify/test >& /dev/null - cp ${mainFile} main.go - ''; -} -- cgit v1.3.1