1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

release.nix: Add a test for sandboxing

Right now it only tests whether seccomp correctly forges the return
value of chown, but the long-term goal is to test the full sandboxing
functionality at some point in the future.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-11-16 12:46:43 +01:00
parent b90a435332
commit 651a18dd24
No known key found for this signature in database
GPG key ID: 1DE8E48E57DB5436
2 changed files with 57 additions and 0 deletions

View file

@ -200,6 +200,10 @@ let
nix = build.x86_64-linux; system = "x86_64-linux";
});
tests.sandbox = (import ./tests/sandbox.nix rec {
nix = build.x86_64-linux; system = "x86_64-linux";
});
tests.binaryTarball =
with import <nixpkgs> { system = "x86_64-linux"; };
vmTools.runInLinuxImage (runCommand "nix-binary-tarball-test"