]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/061: Fix the expected line in cpu controller
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 28 May 2024 09:50:35 +0000 (15:20 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 30 May 2024 20:30:38 +0000 (14:30 -0600)
commitd1df9ae3a371bbbac7121a1932e1c9837b63f432
tree0b69ce92789bf110859c7016a1a657db5738581a
parentaa345bbe1d458c1e37832f815c9a3c3ffc79224c
ftests/061: Fix the expected line in cpu controller

Cgroup cpu controller output might be less than 10 lines in older
Kernel version <= 5.4, fix it by adjusting the expected outline count
after reading the current kernel's version.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/061-sudo-g_flag_controller_only_systemd-v1.py