libvirt/tests/sysinfodata/s390sysinfo.expect
Viktor Mihajlovski 347a712ab1 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>
2012-12-17 17:37:17 +00:00

26 lines
786 B
Plaintext

<sysinfo type='smbios'>
<system>
<entry name='manufacturer'>IBM</entry>
<entry name='serial'>0000000000012345</entry>
<entry name='family'>2817</entry>
</system>
<processor>
<entry name='family'>2817</entry>
<entry name='manufacturer'>IBM/S390</entry>
<entry name='version'>FF</entry>
<entry name='serial_number'>000123</entry>
</processor>
<processor>
<entry name='family'>2817</entry>
<entry name='manufacturer'>IBM/S390</entry>
<entry name='version'>FF</entry>
<entry name='serial_number'>100123</entry>
</processor>
<processor>
<entry name='family'>2817</entry>
<entry name='manufacturer'>IBM/S390</entry>
<entry name='version'>FF</entry>
<entry name='serial_number'>200123</entry>
</processor>
</sysinfo>