at 25.11-pre 563 B view raw
1import ./make-test-python.nix ( 2 { pkgs, lib, ... }: 3 { 4 name = "containers-unified-hierarchy"; 5 meta = { 6 maintainers = with lib.maintainers; [ farnoy ]; 7 }; 8 9 nodes.machine = 10 { ... }: 11 { 12 containers = { 13 test-container = { 14 autoStart = true; 15 config = { }; 16 }; 17 }; 18 }; 19 20 testScript = '' 21 machine.wait_for_unit("default.target") 22 23 machine.succeed("echo 'stat -fc %T /sys/fs/cgroup/ | grep cgroup2fs' | nixos-container root-login test-container") 24 ''; 25 } 26)