libvirt/tests
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
..
bhyvexml2argvdata drvbhyve: Use boot-order for grub-bhyve boot device 2014-11-13 15:40:48 +01:00
bhyvexml2xmloutdata
capabilityschemadata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
commanddata
confdata
cputestdata cpu: Add {Haswell,Broadwell}-noTSX CPU models 2015-03-26 09:19:59 +01:00
domaincapsschemadata qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
domainconfdata
domainschemadata conf: Add support for parsing and formatting max memory and slot count 2015-03-23 14:25:14 +01:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
interfaceschemadata
lxcconf2xmldata Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxcxml2xmldata Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxcxml2xmloutdata
networkxml2confdata network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
networkxml2firewalldata
networkxml2xmlin conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlout conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata SRIOV NIC offload feature discovery 2015-03-05 11:31:05 +01:00
nodeinfodata nodeinfodata: Remove broken symlinks and uneeded files 2015-04-02 11:12:01 +02:00
nwfilterxml2firewalldata nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilterxml2xmlin nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilterxml2xmlout nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
qemuagentdata qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
qemucapabilitiesdata qemu: Implement pci-serial 2015-05-21 17:49:02 +02:00
qemucaps2xmldata qemucaps2xmltest: fix the test to correspond to new domain formatting 2015-03-24 16:44:08 +01:00
qemuhelpdata qemu: Don't try to parse -help for new QEMU 2014-11-13 21:25:50 +01:00
qemuhotplugtestdata video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemumonitorjsondata
qemuxml2argvdata qemu: Implement pci-serial 2015-05-21 17:49:02 +02:00
qemuxml2xmloutdata qemu: log error when domain has an unsupported IDE controller 2015-05-15 15:40:43 -04:00
qemuxmlnsdata
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata caps: Use DomainDataLookup to replace GuestDefault* 2015-04-20 16:43:13 -04:00
sexpr2xmldata Domain conf: allow more than one IP address for net devices 2015-01-05 20:24:04 +01:00
storagepoolschemadata
storagepoolxml2xmlin storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagepoolxml2xmlout storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagevolschemadata
storagevolxml2argvdata Allow creating volumes with a backing store but no capacity 2015-03-02 08:07:11 +01:00
storagevolxml2xmlin Allow creating volumes with a backing store but no capacity 2015-03-02 08:07:11 +01:00
storagevolxml2xmlout Allow cloning volumes with no capacity specified 2015-03-02 08:07:11 +01:00
sysinfodata sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata tests: Add tests for virCgroupDetectMounts 2015-03-18 09:53:24 +01:00
virfiledata
virnetdevtestdata/sys/class/net Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: Fix a VMX parsing problem 2015-01-07 17:17:00 -07:00
xencapsdata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
xlconfigdata xenconfig: fix spice mousemode and copypaste 2015-05-18 12:46:16 -06:00
xmconfigdata xenconfig: move <os> parsing/formating to config-specific files 2015-04-16 16:11:01 -06:00
xml2sexprdata
xml2vmxdata
.valgrind.supp
bhyvexml2argvmock.c bhyvexml2argvmock: change int to size_t for tapfdSize 2015-02-11 14:30:45 +01:00
bhyvexml2argvtest.c bhyve: fix bhyvexml2argvtest build with gcc 2015-05-11 20:08:47 +03:00
bhyvexml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
capabilityschematest
commandhelper.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
commandtest.c tests: fix some memleaks in tests 2015-04-27 10:04:38 +02:00
cpuset
cputest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
define-dev-segfault
domaincapsschematest
domaincapstest.c tests: fix some memleaks in tests 2015-04-27 10:04:38 +02:00
domainconftest.c tests: Use *DefParseFile more 2015-04-23 17:08:48 -04:00
domainschematest
domainsnapshotschematest
domainsnapshotxml2xmltest.c domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
esxutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
eventtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
fchosttest.c
fdstreamtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
jsontest.c Some alignment fixes in lxc_controller and jsontest 2015-05-14 15:03:33 +02:00
libvirtd-fail
libvirtd-pool
libvirtdconftest.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lxcconf2xmltest.c
lxcxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
Makefile.am Fix building virnetserverclientmock with MinGW 2015-04-28 17:37:58 +02:00
metadatatest.c
networkschematest
networkxml2conftest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2firewalltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2xmlupdatetest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
nodedevschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
nodedevxml2xmltest.c
nodeinfotest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
nwfilterebiptablestest.c test: fix nwfilter tests following changes in virfirewall.c 2014-12-22 16:57:21 -05:00
nwfilterschematest
nwfilterxml2firewalltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
nwfilterxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
objecteventtest.c objecteventtest: Check for virNetwork* return values 2015-03-23 09:56:15 +01:00
objectlocking.ml network_conf: Make virNetworkObj actually virObject 2015-03-11 16:58:48 +01:00
oomtrace.pl
openvzutilstest.c domain: Convert os.type to VIR_DOMAIN_OSTYPE enum 2015-04-20 16:40:09 -04:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: Use *DefParseFile more 2015-04-23 17:08:48 -04:00
qemuargv2xmltest.c libvirt: tests: test protected key mgmt ops support 2015-05-18 09:54:16 +02:00
qemucapabilitiestest.c qemu: Add RDMA migration capabilities 2014-09-23 08:11:49 +02:00
qemucaps2xmlmock.c tests: introduce qemucaps2xmlmock 2015-03-27 16:55:33 +01:00
qemucaps2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
qemucommandutiltest.c tests: fix some memleaks in tests 2015-04-27 10:04:38 +02:00
qemuhelptest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
qemuhotplugtest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
qemumonitorjsontest.c tests: free ChardevInfo correctly in qemumonitorjsontest 2015-04-28 17:01:16 +02:00
qemumonitortest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
qemumonitortestutils.c test: qemu: Fix qemu monitor test utils to allow testing HMP 2015-03-11 11:28:03 +01:00
qemumonitortestutils.h
qemuxml2argvmock.c Make tests independant of system page size 2015-02-02 20:27:43 +00:00
qemuxml2argvtest.c qemu: Implement pci-serial 2015-05-21 17:49:02 +02:00
qemuxml2xmltest.c Introduce pci-serial 2015-05-21 17:49:02 +02:00
qemuxmlnstest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh Cleanup srcdir usage 2015-04-27 16:03:31 +02:00
scsihosttest.c
seclabeltest.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
secretschematest
secretxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
securityselinuxhelper.c
securityselinuxlabeltest.c tests: Use *DefParseFile more 2015-04-23 17:08:48 -04:00
securityselinuxtest.c conf: Allocate domain definition with the new helper 2015-02-20 17:43:05 +01:00
sexpr2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
shunloadhelper.c
shunloadtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
sockettest.c Remove unused macros 2015-04-02 10:27:56 +02:00
ssh.c
start
statstest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
storagebackendsheepdogtest.c tests: Use *DefParseFile more 2015-04-23 17:08:48 -04:00
storagepoolschematest
storagepoolxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
storagevolschematest
storagevolxml2argvtest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
storagevolxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
sysinfotest.c sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
test_conf.c
test_conf.sh
test-lib.sh
testutils.c tests: Fix grammar in comments. 2015-05-04 15:01:27 +02:00
testutils.h tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
testutilslxc.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
testutilslxc.h
testutilsqemu.c caps: Fix regression defaulting to host arch 2015-05-08 11:11:32 -04:00
testutilsqemu.h cpu: Add {Haswell,Broadwell}-noTSX CPU models 2015-03-26 09:19:59 +01:00
testutilsxen.c caps: Convert to use VIR_DOMAIN_VIRT internally 2015-04-20 16:40:26 -04:00
testutilsxen.h tests: Tests for the xen-xl parser 2015-01-14 08:28:50 -07:00
utiltest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
vboxsnapshotxmltest.c
vcpupin virsh: Improve error message on integer value parsing failure. 2015-05-18 10:50:06 +02:00
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c tests: Resolve Coverity RESOURCE_LEAK 2015-04-15 10:29:41 -04:00
virbuftest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
vircaps2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
vircapstest.c domain: conf: Drop unused OSTYPE_AIX 2015-04-29 09:42:26 -04:00
vircgroupmock.c Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
vircgrouptest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
vircryptotest.c
virdbustest.c dbus: fix arrays of bools 2014-11-25 08:47:12 -07:00
virdrivermoduletest.c Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
virendiantest.c
virfiletest.c util: file: Don't carelessly sanitize URIs 2015-04-09 09:43:36 +02:00
virfirewalltest.c tests: Set up two more overrides for root builders 2014-12-23 06:10:55 +01:00
virhashdata.h
virhashtest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
virhostdevtest.c maint: avoid static zero init in tests 2014-10-29 09:55:09 -06:00
viridentitytest.c
viriscsitest.c
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmock.h tests: fix documentation for mocking methods 2014-11-27 11:17:56 +01:00
virmockdbus.c
virnetdevbandwidthmock.c Iface: disallow network tuning in session mode globally 2014-11-06 14:28:37 +01:00
virnetdevbandwidthtest.c virNetDevBandwidthSet: Add priority to filter 2015-04-17 10:18:58 +02:00
virnetdevmock.c Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetdevtest.c Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c
virnettlscontexttest.c
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c
virpcimock.c
virpcitest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
virpolkittest.c Convert polkit code to use DBus API instead of CLI helper 2014-09-24 15:29:22 +01:00
virportallocatortest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
virscsitest.c maint: avoid static zero init in tests 2014-10-29 09:55:09 -06:00
virsh-all
virsh-optparse
virsh-schedinfo
virsh-synopsis
virsh-undefine
virsh-uriprecedence
virshtest.c
virstoragetest.c util: storage: Fix parsing of nbd:// URI without path 2015-02-04 08:38:25 +01:00
virstringtest.c Add functions dealing with control characters in strings 2015-04-15 18:41:20 +02:00
virsystemdtest.c Add support for systemd-machined CreateMachineWithNetwork 2015-01-15 11:07:07 +00:00
virt-aa-helper-test video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
virtimetest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
viruritest.c test: Add test to verify helpers used for backing file name parsing 2014-10-29 17:10:42 +01:00
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
xencapstest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
xlconfigtest.c xenconfig: fix spice mousemode and copypaste 2015-05-18 12:46:16 -06:00
xmconfigtest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
xml2sexprtest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
xml2vmxtest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00