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:
parent
a2cf0f1018
commit
17da82e04d
2 changed files with 113 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue