libvirt/tests/sysinfodata
Michal Privoznik bc01d903c2 virsysinfo: Use more virSkipSpacesBackwards()
Some fields reported by dmidecode have plenty of useless spaces
(in fact some have nothing but spaces). To deal with this we have
introduced virSkipSpacesBackwards() and use it in
virSysinfoParseX86Processor() and virSysinfoParseX86Memory().
However, other functions (e.g. virSysinfoParseX86Chassis()) don't
use it at all and thus we are reporting nonsense:

  <sysinfo type='smbios'>
    <chassis>
      <entry name='manufacturer'>FUJITSU</entry>
      <entry name='version'>                      </entry>
      <entry name='serial'>                </entry>
      <entry name='asset'>                                        </entry>
      <entry name='sku'>Default string</entry>
    </chassis>
  </sysinfo>

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2018-03-14 17:43:40 +01:00
..
aarch64-moonshotcpuinfo.data tests: sysinfo: Add test data for HP moonshot aarch64 box 2017-03-07 10:44:26 +01:00
aarch64-moonshotsysinfo.expect tests: sysinfo: Add test data for HP moonshot aarch64 box 2017-03-07 10:44:26 +01: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
ppcsysinfo.expect
s390-freqcpuinfo.data tests: sysinfotest: add new test case for S390 2018-01-12 09:24:14 -05:00
s390-freqsysinfo.data tests: sysinfotest: add new test case for S390 2018-01-12 09:24:14 -05:00
s390-freqsysinfo.expect tests: sysinfotest: add new test case for S390 2018-01-12 09:24:14 -05:00
s390cpuinfo.data
s390sysinfo.data
s390sysinfo.expect
x86sysinfo.data virsysinfo: Use more virSkipSpacesBackwards() 2018-03-14 17:43:40 +01:00
x86sysinfo.expect