aboutsummaryrefslogtreecommitdiff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-29 14:19:11 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-29 16:14:10 +0200
commit1d9ab273bad34b004dfcfd486273d0df5fed1eca (patch)
treeb18e5c90148418b461951da392f86f2237634316 /release.nix
parentcf93397d3f1d2a8165a100482d07b7f4b7e5bf7f (diff)
Add test for setuid seccomp filter
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/release.nix b/release.nix
index 1e854a075..ec6bda995 100644
--- a/release.nix
+++ b/release.nix
@@ -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"