]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tests: Fix inconsistent return value in functional test's Container() class
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 7 Oct 2019 20:44:46 +0000 (14:44 -0600)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 8 Oct 2019 17:51:22 +0000 (10:51 -0700)
commit320eef9a5d0b213f1a8d6d30f563a962f914acd8
tree609a40185afdaaa6f60128f9bf697c199c8f89a5
parent5f2dd1abbfbf15493aeb1aaf77d9aaae978f3c12
tests: Fix inconsistent return value in functional test's Container() class

This commit fixes the Container() class' inconsistent usage
of decode().  In the rootfs() method, it returned a binary
array in one case and a string in another.  Now the rootfs()
method will always return a string.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tests/ftests/container.py