diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-27 16:38:34 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-11-27 16:38:34 +0100 |
commit | f1b5c6876bc570ff9ac79410d8e47aadcb9aed52 (patch) | |
tree | b6553ae70afaab23b51d02952353823748e8903b /tests/id-test.nix | |
parent | 2aa3f2e81020c1c780be6329e1133068779c8f08 (diff) |
Add tests for auto-uid-allocation, uid-range and cgroups
Diffstat (limited to 'tests/id-test.nix')
-rw-r--r-- | tests/id-test.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/id-test.nix b/tests/id-test.nix new file mode 100644 index 000000000..8eb9d38f9 --- /dev/null +++ b/tests/id-test.nix @@ -0,0 +1,8 @@ +{ name, uidRange ? false }: + +with import <nixpkgs> {}; + +runCommand name + { requiredSystemFeatures = if uidRange then ["uid-range"] else []; + } + "id; id > $out" |