1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 20:51:00 +01:00

Add test for setuid seccomp filter

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

View file

@ -215,6 +215,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"