]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests: Fix test failure on Fedora 30 5/head
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 13 Jan 2020 23:34:56 +0000 (23:34 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 13 Jan 2020 23:34:56 +0000 (23:34 +0000)
commit2b8de2026bf10541d15f1114731e3402c182342f
tree0b8e8594464d476cdda044cfab2cc7b71c429470
parent6e693bb707bc04bc92acbd68fcdcb59876b67f07
tests: Fix test failure on Fedora 30

Unit test 004-cgroup_compare_ignore_rule.cpp segfaults on
test CgroupCompareIgnoreRuleTest.CombinedControllers().  This
is due to rule.procname being uninitialized.  This commit
initializes the entire rule structure to zero.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/gunit/004-cgroup_compare_ignore_rule.cpp