mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +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
|
||||
|
||||
stat /sys/fs/cgroup/newcgroup || failed
|
||||
|
||||
printf "cgroup2 detected, suite PASSED\n" >&1
|
||||
|
@ -7,6 +7,9 @@ init:
|
||||
onboot:
|
||||
- name: test
|
||||
image: alpine:3.13
|
||||
runtime:
|
||||
cgroups:
|
||||
- newcgroup
|
||||
binds:
|
||||
- /check.sh:/check.sh
|
||||
- /run:/run
|
||||
|
Loading…
Reference in New Issue
Block a user