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

Add test for setuid seccomp filter

This commit is contained in:
Eelco Dolstra 2017-05-29 14:19:11 +02:00
parent cf93397d3f
commit 1d9ab273ba
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 113 additions and 0 deletions

View file

@ -219,6 +219,11 @@ let
nix = build.x86_64-linux; system = "x86_64-linux";
});
tests.setuid = pkgs.lib.genAttrs (pkgs.lib.filter (pkgs.lib.hasSuffix "-linux") systems) (system:
import ./tests/setuid.nix rec {
nix = build.${system}; inherit system;
});
tests.binaryTarball =
with import <nixpkgs> { system = "x86_64-linux"; };
vmTools.runInLinuxImage (runCommand "nix-binary-tarball-test"