Permalink
Browse files

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>
  • Loading branch information...
Thomas Hipp
Thomas Hipp committed Oct 26, 2017
1 parent c9b649d commit 1cda65c39b91906aca5bf3291b3df1259c7b926b
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/integration/update.bats
@@ -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

0 comments on commit 1cda65c

Please sign in to comment.