aarch64: Fix sysinfo test.

On AArch64 the kernel prints one "processor" (lower case 'p') line per
core.  As this was missing from the test data, virSysinfo was not
parsing any processors at all.

Fix the test data so the test now passes.
This commit is contained in:
Richard W.M. Jones 2014-01-01 15:49:55 +00:00
parent 9c225efc36
commit 1063a0ff81
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,5 @@
Processor : AArch64 Processor rev 0 (aarch64)
processor : 0
BogoMIPS : 100.00
Features : fp asimd

View File

@ -1,10 +1,6 @@
<sysinfo type='smbios'>
<processor>
<entry name='socket_destination'>0</entry>
<entry name='type'>AArch64 Processor rev 0 (aarch64) </entry>
</processor>
<processor>
<entry name='socket_destination'>1</entry>
<entry name='type'>AArch64 Processor rev 0 (aarch64)</entry>
</processor>
</sysinfo>