tests: add missing cgroups_kmem requirement

Since the defined config.json contains kmem settings, the test will try
writing to memory.kmem.* and fail. Therefore, it needs to require
cgroups_kmem.

Signed-off-by: Thomas Hipp <thipp@suse.de>
This commit is contained in:
Thomas Hipp 2017-10-26 19:48:52 +02:00
parent c9b649ddcc
commit 1cda65c39b
No known key found for this signature in database
GPG Key ID: 993408D1137B7D51
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ EOF
@test "update rt period and runtime" {
[[ "$ROOTLESS" -ne 0 ]] && requires rootless_cgroup
requires cgroups_rt
requires cgroups_kmem cgroups_rt
# run a detached busybox
runc run -d --console-socket $CONSOLE_SOCKET test_update_rt