libvirt/tests/sysinfodata
Michal Privoznik 85128e2962 sysinfo: Fix reports on ARM
Due to a kernel commit (b4b8f770e), cpuinfo format has changed on
ARMs. Firstly, 'Processor: ...' may not be reported, it's
replaced by 'model name: ...'. Secondly, the "Processor" string
may occur in CPU name, e.g. 'ARMv7 Processor rev 5 (v7l)'.
Therefore, we must firstly look for 'model name' and then for
'Processor' if not found.
Moreover, lines in the cpuinfo file are shuffled, so we better
not manipulate the pointer to start of internal buffer as we may
lost some info.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-05-21 18:13:18 +02:00
..
aarch64cpuinfo.data aarch64: Fix sysinfo test. 2014-01-01 16:34:13 +00:00
aarch64sysinfo.expect aarch64: Fix sysinfo test. 2014-01-01 16:34:13 +00:00
arm-rpi2cpuinfo.data sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
arm-rpi2sysinfo.expect sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
armcpuinfo.data Implement minimal sysinfo for ARM platforms 2013-04-04 11:07:31 +01:00
armsysinfo.expect Implement minimal sysinfo for ARM platforms 2013-04-04 11:07:31 +01:00
dmidecode.sh
ppccpuinfo.data Add sysinfo data and enable virSysinfoRead test case for POWER 2012-12-20 14:49:20 -07:00
ppcsysinfo.expect Add sysinfo data and enable virSysinfoRead test case for POWER 2012-12-20 14:49:20 -07:00
s390cpuinfo.data
s390sysinfo.data
s390sysinfo.expect
x86sysinfo.data
x86sysinfo.expect