summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/dev/container_probe.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/dev/container_probe.py')
-rw-r--r--test/lib/ansible_test/_internal/dev/container_probe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/dev/container_probe.py b/test/lib/ansible_test/_internal/dev/container_probe.py
index 0a6a3b20f6..84b88f4bb6 100644
--- a/test/lib/ansible_test/_internal/dev/container_probe.py
+++ b/test/lib/ansible_test/_internal/dev/container_probe.py
@@ -73,7 +73,7 @@ class CGroupMount:
def check_container_cgroup_status(args: EnvironmentConfig, config: DockerConfig, container_name: str, expected_mounts: tuple[CGroupMount, ...]) -> None:
"""Check the running container to examine the state of the cgroup hierarchies."""
- cmd = ['sh', '-c', 'cat /proc/1/cgroup && echo && cat /proc/1/mounts']
+ cmd = ['sh', '-c', 'cat /proc/1/cgroup && echo && cat /proc/1/mountinfo']
stdout = docker_exec(args, container_name, cmd, capture=True)[0]
cgroups_stdout, mounts_stdout = stdout.split('\n\n')