aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/assert.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/sandbox/assert.nix')
-rw-r--r--test/sandbox/assert.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/sandbox/assert.nix b/test/sandbox/assert.nix
deleted file mode 100644
index 78711086..00000000
--- a/test/sandbox/assert.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- writeText,
- buildGoModule,
- pkg-config,
- util-linux,
-
- version,
-}:
-buildGoModule {
- pname = "check-sandbox";
- inherit version;
-
- src = ../.;
- vendorHash = null;
-
- buildInputs = [ util-linux ];
- nativeBuildInputs = [ pkg-config ];
-
- preBuild = ''
- go mod init git.gensokyo.uk/security/fortify/test >& /dev/null
- cp ${writeText "main.go" ''
- package main
-
- import "os"
- import "git.gensokyo.uk/security/fortify/test/sandbox"
-
- func main() { (&sandbox.T{FS: os.DirFS("/")}).MustCheckFile(os.Args[1], "/tmp/sandbox-ok") }
- ''} main.go
- '';
-}