]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Augment vcgrouptest to add virCgroupGetMemoryStat
authorJohn Ferlan <jferlan@redhat.com>
Wed, 7 Nov 2018 23:40:43 +0000 (18:40 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 14 Nov 2018 19:45:02 +0000 (14:45 -0500)
commit99b8ef7a98d6ad4a01549204195f5e17ee1984ee
treeb7646b3143105a733cc808fb1e6d86ca63640d2d
parentb8176d6eaa943bc9825ecc99d86c0c301e688dd0
tests: Augment vcgrouptest to add virCgroupGetMemoryStat

Add a test to fetch the GetMemoryStat output. This only gets
data for v1 only right now since the v2 data from commit 61ff6021
is rather useless returning all 0's. The v1 data was originally
added in commit d1452470.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/vircgrouptest.c