]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add tests for sysinfo
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Fri, 14 Dec 2012 15:08:25 +0000 (16:08 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 17 Dec 2012 17:37:17 +0000 (17:37 +0000)
commit347a712ab19b33867efc1e58bcd2f3219271cd3f
treea6ff97a30b4922357353179d765359ce52a4283e
parentcab938c993cb720daae047dcc0bafe1f339e841c
tests: Add tests for sysinfo

Test cases for virSysinfoRead. Initially, there are tests for
x86 (DMI based) and s390 (/proc/... based).
In lack of PPC data, I have stubbed out the test for it, but it
can be added with a minimal effort.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
cfg.mk
tests/Makefile.am
tests/sysinfodata/dmidecode.sh [new file with mode: 0755]
tests/sysinfodata/s390cpuinfo.data [new file with mode: 0644]
tests/sysinfodata/s390sysinfo.data [new file with mode: 0644]
tests/sysinfodata/s390sysinfo.expect [new file with mode: 0644]
tests/sysinfodata/x86sysinfo.data [new file with mode: 0644]
tests/sysinfodata/x86sysinfo.expect [new file with mode: 0644]
tests/sysinfotest.c [new file with mode: 0644]