libvirt/tests
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
..
bhyveargv2xmldata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata tests: fix typo 2017-11-20 13:22:48 +01:00
cputestdata cpu: Add EPYC-IBPB CPU model 2018-01-18 15:04:18 +01:00
domaincapsschemadata cpu: Add support for al57 Intel features 2018-01-25 15:30:32 +01:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin storage: Store RBD image name as pool and image name 2017-11-07 14:58:04 +01:00
domainsnapshotxml2xmlout tests: domainsnapshotxml2xml: Remove testing with allowed format detection 2018-03-13 13:54:06 +01:00
fchostdata/fc_host
genericxml2xmlindata tests: Add test for properly removing cachetune entries 2018-02-02 14:51:32 +01:00
genericxml2xmloutdata tests: Add test for properly removing cachetune entries 2018-02-02 14:51:32 +01:00
interfaceschemadata
libxlxml2domconfigdata libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata nodedev: add switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
nssdata
nwfilterxml2firewalldata nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlin nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlout
qemuagentdata test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmldata conf: Allow configuration of implicit controller model 2018-01-31 11:32:04 -05:00
qemucapabilitiesdata qemu: Take full advantage of conditional device property probing 2018-03-08 16:05:46 +01:00
qemucaps2xmldata
qemuhelpdata
qemuhotplugtestcpus virQEMUCapsHasPCIMultiBus: use def->os.arch 2017-11-30 16:49:05 +01:00
qemuhotplugtestdevices qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplugtestdomains qemu: Fetch/save the default SCSI controller model during hotplug 2018-01-31 11:32:04 -05:00
qemumemlockdata
qemumonitorjsondata
qemustatusxml2xmldata tests: qemuxml2xml: Add status XML with outgoing migration with NBD 2018-03-13 13:54:11 +01:00
qemuxml2argvdata tests: qemuxml2xml: Remove testing with allowed format detection 2018-03-13 13:05:43 +01:00
qemuxml2xmloutdata tests: qemuxml2xml: Remove testing with allowed format detection 2018-03-13 13:05:43 +01:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata Terminate backing chains explicitly 2017-10-17 06:19:18 +02:00
storagepoolschemadata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata virsysinfo: Use more virSkipSpacesBackwards() 2018-03-14 17:43:40 +01:00
vboxsnapshotxmldata
vircaps2xmldata tests: Clean up and modify some vircaps2xmldata 2018-01-25 17:16:08 +01:00
vircgroupdata
virconfdata Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virfilecachedata
virfiledata
virhostcpudata tests: Break symlink loop 2018-01-11 14:23:09 +01:00
virjsondata
virmacmaptestdata
virnetdaemondata tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetdevtestdata/sys/class/net
virpcitestdata
virresctrldata tests: Clean up and modify some vircaps2xmldata 2018-01-25 17:16:08 +01:00
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xencapsdata
xlconfigdata libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
xmconfigdata
xml2sexprdata Remove non-existant 'wiremode' attribute 2017-11-30 10:20:45 +00:00
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c conf: move 'generated' member from virMacAddr to virDomainNetDef 2018-02-19 13:15:00 -05:00
bhyveargv2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
bhyvexml2argvmock.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
bhyvexml2argvtest.c port allocator: remove release functionality from set used 2018-02-22 13:52:45 +01:00
bhyvexml2xmltest.c tests: bhyvexml2xml: Fix call to testCompareDomXML2XMLFiles 2018-03-13 15:32:31 +01:00
check-file-access.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
commandhelper.c Fix commandhelper build on win32 2017-09-21 08:55:07 +01:00
commandtest.c tests: fix typo 2017-11-20 13:22:48 +01:00
cputest.c cputest: Add data for updated Intel(R) Core(TM) i7-5600U CPU 2018-01-17 17:07:02 +01:00
domaincapsmock.c
domaincapstest.c fillQemuCaps: Don't leak machine string 2017-12-12 16:41:25 +01:00
domainconftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domainsnapshotxml2xmltest.c tests: domainsnapshotxml2xml: Remove testing with allowed format detection 2018-03-13 13:54:06 +01:00
esxutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
eventtest.c
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
interfacexml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libvirtd-fail
libvirtd-pool
libxlxml2domconfigtest.c port allocator: remove release functionality from set used 2018-02-22 13:52:45 +01:00
lxcconf2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
lxcxml2xmltest.c tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
Makefile.am Merge WITH_POLKIT1 and WITH_POLKIT 2018-03-14 12:46:26 +01:00
metadatatest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2conftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmlupdatetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nodedevxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nsslinktest.c
nssmock.c
nsstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterebiptablestest.c
nwfilterxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
objecteventtest.c storage: Add new events for *PoolBuild() and *PoolDelete(). 2017-09-20 11:52:56 +02:00
objectlocking.ml
oomtrace.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
openvzutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmltest.c test: Drop useless prefix for qemuargv2xml test data 2017-12-05 14:52:49 +01:00
qemublocktest.c conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01:00
qemucapabilitiestest.c tests: Add capabilities for QEMU 2.11.0 on s390x 2018-03-06 06:38:09 -05:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucapsfixreplies tests: introduce qemucapsfixreplies helper 2018-03-01 19:04:19 +01:00
qemucapsprobe.c qemu: Refresh caps cache after booting a different kernel 2018-01-22 14:11:58 +01:00
qemucapsprobemock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucommandutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucpumock.c
qemuhelptest.c qemu: Add QEMU_CAPS_DEVICE_ISA_SERIAL 2017-11-28 15:51:33 +01:00
qemuhotplugtest.c qemu: don't pass virConnectPtr around for secrets 2018-02-19 11:11:47 +00:00
qemumemlocktest.c qemu: Complete PCI command checks to controller def validate 2018-02-02 14:52:23 -05:00
qemumonitorjsontest.c qemu: stop passing virConnectPtr into qemuMonitorStartCPUs 2018-02-19 11:11:46 +00:00
qemumonitortest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c
qemuxml2argvtest.c tests: qemu: Explicitly add tests with format probing allowed 2018-03-13 13:05:43 +01:00
qemuxml2xmltest.c tests: qemuxml2xml: Add status XML with outgoing migration with NBD 2018-03-13 13:54:11 +01:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxhelper.c
securityselinuxlabeltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sexpr2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
shunloadhelper.c
shunloadtest.c
sockettest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
ssh.c
storagebackendsheepdogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagepoolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagevolxml2argvtest.c storage: open secret driver connection at time of use 2018-01-31 18:34:48 +00:00
storagevolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sysinfotest.c Fix build with clang 6.0.0 2018-03-12 20:04:08 +04:00
test-lib.sh
test-wrap-argv.pl
testutils.c tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
testutils.h tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
testutilshostcpus.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: capabilities: force update if the microcode version does not match 2018-01-04 16:52:03 +01:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
utiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vboxsnapshotxmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
viralloctest.c
viratomictest.c
virauthconfigtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virbitmaptest.c util: bitmap: Use VIR_SHRINK_N in virBitmapShrink 2018-02-05 16:08:57 +01:00
virbuftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircaps2xmltest.c build: Fix make dist 2017-11-22 11:27:40 +01:00
vircapstest.c vircapstest: Avoid (im)possible strcmp call with NULL argument 2017-11-14 14:45:19 +01:00
vircgroupmock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircgrouptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virconftest.c virconf: properly set the end of content 2017-11-09 08:04:26 -07:00
vircryptotest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdbusmock.c tests: Rename virmockdbus -> virdbusmock for consistency 2016-02-11 18:24:32 +01:00
virdbustest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdeterministichashmock.c
virdrivermoduletest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virendiantest.c
virfilecachemock.c
virfilecachetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfiletest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.h
virfirewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virhashdata.h
virhashtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virhostcpumock.c
virhostcputest.c tests: virhostcputest: testcase for S390 system 2018-01-10 17:34:37 -05:00
virhostdevtest.c qemu: Remove private hostdev 2017-11-24 11:47:26 -05:00
viridentitytest.c
viriscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virjsontest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virkeycodetest.c keycodemapdb: Update submodule 2018-03-12 16:30:49 +01:00
virkeyfiletest.c
virkmodtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virlockspacetest.c
virlogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmacmaptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmock.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmocklibxl.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
virnetdaemonmock.c
virnetdaemontest.c tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetdevmock.c
virnetdevtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetsockettest.c tests: Fix virnetsockettest after SSH command line changes 2017-08-30 10:50:17 +02:00
virnettlscontexttest.c tests: force use of "NORMAL" TLS priority in test suite 2018-03-06 10:09:44 +00:00
virnettlshelpers.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnettlshelpers.h
virnettlssessiontest.c tests: force use of "NORMAL" TLS priority in test suite 2018-03-06 10:09:44 +00:00
virnumamock.c
virpcimock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virpcitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
virrandommock.c
virresctrltest.c tests: Add virresctrltest 2018-01-25 17:16:08 +01:00
virrotatingfiletest.c
virschematest.c Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00
virscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c tests: run virshtest independent of current pwd 2018-02-13 10:27:32 -05:00
virstoragetest.c util: storage: Remove detected authentication data for backing chains 2018-02-14 16:04:46 +01:00
virstorageutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virstringtest.c virstringtest: Fix alignment of backslashes 2018-01-04 09:29:49 +01:00
virsystemdtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virt-aa-helper-test Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virt-admin-self-test
virtestmock.c
virtimetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virtypedparamtest.c
viruritest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virusbmock.c tests: Fix build with clang 2017-10-05 09:09:50 +02:00
virusbtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmwarevertest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmx2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xencapstest.c
xlconfigtest.c tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
xmconfigtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xml2sexprtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
xml2vmxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00