diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-23 14:14:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-23 14:53:50 +0900 |
| commit | 75e0c5d4061d68dc4802285ec137e464f4e01b17 (patch) | |
| tree | b8307fa68188bac4c522afc36c27a5c1fb7c02da /test/sandbox/seccomp.nix | |
| parent | 770b37ae166a18f495865e96ccafc6f9fb9f4e88 (diff) | |
test/sandbox: parse full test case
This makes declaring multiple tests much cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/seccomp.nix')
| -rw-r--r-- | test/sandbox/seccomp.nix | 27 |
1 files changed, 0 insertions, 27 deletions
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 - ''; -} |
