tests/int: add a "update cpu period with pod limit set" test

Add a test case for an issue fixed by the previous commit.

Unfortunately, this is somewhat complicated as there's no easy way to
create a transient unit, so a binary, sd-helper, had to be added. On top
of that, an ability to create a parent/pod cgroup is added to
helpers.bash, which might be useful for future integration tests.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-07-28 10:37:29 -07:00
parent 1b2adcfe56
commit 639445789d
5 changed files with 195 additions and 9 deletions
+1
View File
@@ -2,6 +2,7 @@ vendor/pkg
/runc
/runc-*
contrib/cmd/recvtty/recvtty
contrib/cmd/sd-helper/sd-helper
man/man8
release
Vagrantfile