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:
parent
b90a435332
commit
651a18dd24
2 changed files with 57 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue