mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
test: extend cgroupv2 case to support runtime: cgroups:
Signed-off-by: David Scott <dave@recoil.org>
This commit is contained in:
parent
f14ad44ce4
commit
521b323270
@ -11,4 +11,6 @@ DEVICE=/dev/sdb
|
|||||||
|
|
||||||
mount | grep cgroup2 || failed
|
mount | grep cgroup2 || failed
|
||||||
|
|
||||||
|
stat /sys/fs/cgroup/newcgroup || failed
|
||||||
|
|
||||||
printf "cgroup2 detected, suite PASSED\n" >&1
|
printf "cgroup2 detected, suite PASSED\n" >&1
|
||||||
|
@ -7,6 +7,9 @@ init:
|
|||||||
onboot:
|
onboot:
|
||||||
- name: test
|
- name: test
|
||||||
image: alpine:3.13
|
image: alpine:3.13
|
||||||
|
runtime:
|
||||||
|
cgroups:
|
||||||
|
- newcgroup
|
||||||
binds:
|
binds:
|
||||||
- /check.sh:/check.sh
|
- /check.sh:/check.sh
|
||||||
- /run:/run
|
- /run:/run
|
||||||
|
Loading…
Reference in New Issue
Block a user