diff options
author | Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com> | 2023-12-25 08:54:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-25 08:54:08 -0500 |
commit | c52e9de9aecd6e1cdf3704131d0512225d492ec0 (patch) | |
tree | da9ccd026414553644b9d3265608785ca1386de4 /nixos/tests | |
parent | efb542a5c62ab559a53bd69dee1d549b618836ff (diff) | |
parent | 56e9ca19b3f8f353c374c662fa909db86eea925c (diff) |
Merge pull request #275895 from adamcstephens/lxcfs/5
lxcfs: 4.0.12 -> 5.0.4
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/incus/container.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/incus/container.nix b/nixos/tests/incus/container.nix index 2d3fa49e5bd18..2fa1709c7484b 100644 --- a/nixos/tests/incus/container.nix +++ b/nixos/tests/incus/container.nix @@ -56,6 +56,10 @@ in retry(instance_is_up) machine.succeed("echo true | incus exec container /run/current-system/sw/bin/bash -") + with subtest("Container mounts lxcfs overlays"): + machine.succeed("incus exec container mount | grep 'lxcfs on /proc/cpuinfo type fuse.lxcfs'") + machine.succeed("incus exec container mount | grep 'lxcfs on /proc/meminfo type fuse.lxcfs'") + with subtest("Container CPU limits can be managed"): set_container("limits.cpu 1") cpuinfo = machine.succeed("incus exec container grep -- -c ^processor /proc/cpuinfo").strip() |