Skip to content

Commit a4e2fe2

Browse files
cris-mapevik
authored andcommitted
Fix cgroup_lib.sh helper
A typo compromised get_cgroup_mountpoint() effectiveness leading to cgroup_regression test_5 systematic failure. Fixes: 3cac1f8 ("cgroup: cgroup_regression_test.sh ported to newlib") Signed-off-by: Cristian Marussi <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent 41e6f9c commit a4e2fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcases/kernel/controllers/cgroup_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ get_cgroup_mountpoint()
1616
[ $# -eq 0 ] && tst_brk TBROK "get_cgroup_mountpoint: subsystem not defined"
1717

1818
mntpoint=$(grep cgroup /proc/mounts | grep -w $subsystem | awk '{ print $2 }')
19-
[ -z "$mountpoint" ] && return 1
19+
[ -z "$mntpoint" ] && return 1
2020

2121
echo $mntpoint
2222
return 0

0 commit comments

Comments
 (0)