mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Add tests for daemon with cgroups
This commit is contained in:
parent
46b3188045
commit
4c88deef38
3 changed files with 52 additions and 0 deletions
10
tests/nixos/cgroups/hang.nix
Normal file
10
tests/nixos/cgroups/hang.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ }:
|
||||
|
||||
with import <nixpkgs> {};
|
||||
|
||||
runCommand "hang"
|
||||
{ requiredSystemFeatures = "uid-range";
|
||||
}
|
||||
''
|
||||
sleep infinity
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue