mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
zdtm: cgroup_ifpriomap: Improve skip check's robustness.
cgroup_ifpriomap test needs net_prio cgroup, which might not be available. Make the .checkskip script check it. Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
e076c11e22
commit
97b8b659c9
1 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
! test -f /sys/fs/cgroup/cgroup.controllers
|
||||
test ! -f /sys/fs/cgroup/cgroup.controllers
|
||||
|
||||
grep -q '^net_prio\s' /proc/cgroups
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue