libvirt/tests
Daniel P. Berrange 8afd34f2d8 tests: redo test argv file line wrapping
Back in

  commit bd6c46fa0c
  Author: Juerg Haefliger <juerg.haefliger@hp.com>
  Date:   Mon Jan 31 06:42:57 2011 -0500

    tests: handle backspace-newline pairs in test input files

all the test argv files were line wrapped so that the args
were less than 80 characters.

The way the line wrapping was done turns out to be quite
undesirable, because it often leaves multiple parameters
on the same line. If we later need to add or remove
individual parameters, then it leaves us having to redo
line wrapping.

This commit changes the line wrapping so that every
single "-param value" is one its own new line. If the
"value" is still too long, then we break on ',' or ':'
or ' ' as needed.

This means that when we come to add / remove parameters
from the test files line, the patch diffs will only
ever show a single line added/removed which will greatly
simplify review work.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2015-11-09 15:50:39 +00:00
..
bhyvexml2argvdata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
bhyvexml2xmloutdata
capabilityschemadata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
commanddata command: test umask support 2014-09-03 09:36:13 -06:00
confdata Add configuration options for permissions on daemon's admin socket 2015-06-16 13:46:21 +02:00
cputestdata tests: Add some compatibility-related cases to the CPU tests 2015-08-21 15:42:38 -07:00
domaincapsschemadata qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
domainconfdata
domainschemadata docs: Rename 'parallels' to 'vz' 2015-08-25 07:21:33 -04:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
interfaceschemadata interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
lxcconf2xmldata Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxcxml2xmldata lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxcxml2xmloutdata
networkxml2confdata network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
networkxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
networkxml2xmlin conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
networkxml2xmlout conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
networkxml2xmlupdatein network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
networkxml2xmlupdateout network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nodedevschemadata nodedev: add RDMA and tx-udp_tnl-segmentation NIC capabilities 2015-07-21 07:08:35 -04:00
nodeinfodata tests: Remove unused nodeinfo test data 2015-10-22 09:32:58 +02:00
nwfilterxml2firewalldata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00: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: Introduce QEMU_CAPS_DEVICE_VIRTIO_NET 2015-09-10 09:25: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 tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
qemuxml2xmloutdata conf: fix crash when parsing a unordered NUMA <cell/> 2015-09-08 10:40:20 +02:00
qemuxmlnsdata tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
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: Fix the schema and add tests for cifs pool 2015-06-15 17:25:33 -04:00
storagepoolxml2xmlout storage: Fix the schema and add tests for cifs pool 2015-06-15 17:25:33 -04:00
storagevolschemadata
storagevolxml2argvdata tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -04:00
storagevolxml2xmlin tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -04:00
storagevolxml2xmlout conf: storage: Don't emit empty <permissions> block 2015-05-25 20:52:57 -04:00
sysinfodata sysinfo: Fix reports on ARM 2015-05-21 18:13:18 +02:00
vboxsnapshotxmldata tests: fix vbox snapshot xmls 2014-06-18 15:19:18 +02:00
vircaps2xmldata vircaps2xmltest: Introduce basic testing 2014-06-05 13:58:13 +02:00
vircgroupdata tests: Add tests for virCgroupDetectMounts 2015-03-18 09:53:24 +01:00
virfiledata
virnetdaemondata test: Replace tabs with spaces in virnetdaemondata json files 2015-08-24 09:30:40 +02:00
virnetdevtestdata/sys/class/net Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetserverdata tests: Adapt virnetservertest to daemon refactor 2015-06-16 13:46:20 +02:00
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata vmware: make version parsing more robust 2014-06-11 14:56:18 +02:00
vmx2xmldata vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01: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 vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01:00
.valgrind.supp
bhyvexml2argvmock.c bhyvexml2argvmock: change int to size_t for tapfdSize 2015-02-11 14:30:45 +01:00
bhyvexml2argvtest.c bhyve: add UTC clock support 2015-07-22 19:05:09 +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 Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
cpuset
cputest.c tests: Add some compatibility-related cases to the CPU tests 2015-08-21 15:42:38 -07:00
define-dev-segfault
domaincapsschematest Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
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 schema: bhyve and nmdm updates 2014-07-29 09:52:16 +04:00
domainsnapshotschematest
domainsnapshotxml2xmltest.c tests: split out common qemu driver initialization 2015-09-22 13:56:59 +02:00
esxutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
eventtest.c tests: eventtest: Fix coverity warning 2015-10-07 10:48:45 -04:00
fchosttest.c
fdstreamtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
jsontest.c json: enhance parser test 2015-06-25 09:11:15 +02:00
libvirtd-fail
libvirtd-pool
libvirtdconftest.c rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
Makefile.am tests: Don't use testutils in mock libraries 2015-09-11 13:34:02 +02:00
metadatatest.c test: metadata: Improve test coverage 2014-07-17 17:04:12 +02:00
networkschematest
networkxml2conftest.c network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
networkxml2firewalltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2xmltest.c conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
networkxml2xmlupdatetest.c network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nodedevschematest
nodedevxml2xmltest.c Add unique_id to nodedev output 2014-07-21 12:55:11 -04:00
nodeinfomock.c tests: Prepare for subcore tests 2015-08-03 08:38:46 -04:00
nodeinfotest.c tests: Add subcores3 nodeinfo test 2015-08-03 08:38:47 -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: split out common qemu driver initialization 2015-09-22 13:56:59 +02:00
qemuargv2xmltest.c tests: split out common qemu driver initialization 2015-09-22 13:56:59 +02:00
qemucapabilitiestest.c tests: Avoid use of virQEMUDriverCreateXMLConf(NULL) 2015-09-22 17:05:16 +02:00
qemucaps2xmlmock.c tests: introduce qemucaps2xmlmock 2015-03-27 16:55:33 +01:00
qemucaps2xmltest.c tests: Resolve Coverity RESOURCE_LEAK 2015-09-24 09:53:38 -04:00
qemucommandutiltest.c tests: fix some memleaks in tests 2015-04-27 10:04:38 +02:00
qemuhelptest.c qemu: Introduce QEMU_CAPS_DEVICE_VIRTIO_NET 2015-09-10 09:25:02 +02:00
qemuhotplugtest.c virSecurityManagerNew: Turn array of booleans into flags 2015-10-07 17:51:28 +02:00
qemumonitorjsontest.c qemu: Make virtType of type virDomainVirtType 2015-09-25 15:34:09 -04:00
qemumonitortest.c tests: Avoid use of virQEMUDriverCreateXMLConf(NULL) 2015-09-22 17:05:16 +02: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: Fix qemu startup check for QEMU_CAPS_OBJECT_IOTHREAD 2015-10-16 06:55:45 -04:00
qemuxml2xmltest.c tests: Check GIC-related XMLs in qemuxml2xmltest 2015-10-06 15:10:36 +02:00
qemuxmlnstest.c tests: use mockup cache 2015-09-22 13:56:59 +02:00
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh Cleanup srcdir usage 2015-04-27 16:03:31 +02:00
scsihosttest.c scsi_host: Introduce virFindSCSIHostByPCI 2014-07-21 12:55:11 -04:00
seclabeltest.c virSecurityManagerNew: Turn array of booleans into flags 2015-10-07 17:51:28 +02:00
secretschematest
secretxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
securityselinuxhelper.c maint: cleanup detection of const'ness of selinux ctx 2014-05-28 16:52:48 -06:00
securityselinuxlabeltest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
securityselinuxtest.c virSecurityManagerNew: Turn array of booleans into flags 2015-10-07 17:51:28 +02: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 network: validate network NAT range 2015-08-10 13:06:56 -04: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: sheepdog: Drop use of virtTestResult 2015-10-05 14:34:04 -04:00
storagepoolschematest
storagepoolxml2xmltest.c storage: Fix the schema and add tests for cifs pool 2015-06-15 17:25:33 -04:00
storagevolschematest
storagevolxml2argvtest.c tests: add vol-qcow2-zerocapacity test to storagevolxml2argvtest 2015-07-24 11:23:45 -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: Resolve Coverity RESOURCE_LEAK 2014-09-03 15:00:19 -04:00
test_conf.sh
test-lib.sh tests: make redirects happen in correct order 2015-10-14 13:10:38 +02:00
test-wrap-argv.pl tests: redo test argv file line wrapping 2015-11-09 15:50:39 +00:00
testutils.c testutils: Drop virtTestResult 2015-10-05 14:34:04 -04:00
testutils.h testutils: Drop virtTestResult 2015-10-05 14:34:04 -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 qemuTestDriverInit: init the driver lock too 2015-09-22 17:05:16 +02:00
testutilsqemu.h Implement infrastracture for mocking up QEMU capabilities cache 2015-09-22 13:56:59 +02: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 utiltest: Use int8_t instead of char. 2015-06-08 12:54:32 +02:00
vboxsnapshotxmltest.c vboxsnapshotxmltest: Don't write to a file in abs_srcdir 2014-07-01 16:46:29 +02:00
vcpupin test: introduce a function in test driver to check get vcpupin info 2015-07-24 06:49:54 -04:00
viralloctest.c
viratomictest.c
virauthconfigtest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virbitmaptest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02: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 conf: Add new VIR_DOMAIN_VIRT_NONE enum 2015-09-25 15:33:53 -04:00
vircgroupmock.c Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
vircgrouptest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02: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 Remove new lines from log messages 2015-11-04 13:09:35 +01:00
viridentitytest.c
viriscsitest.c
virkeycodetest.c
virkeyfiletest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmock.h tests: fix documentation for mocking methods 2014-11-27 11:17:56 +01:00
virmockdbus.c tests: avoid dlsym mocking on mingw 2014-05-20 15:16:22 -06:00
virnetdaemontest.c tests: Resolve Coverity RESOURCE_LEAK 2015-09-24 09:53:38 -04:00
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 Remove new lines from log messages 2015-11-04 13:09:35 +01:00
virnettlscontexttest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
virnettlshelpers.c tests: extend workaround for gnutls private key loading failure 2015-08-04 12:28:24 +01:00
virnettlshelpers.h
virnettlssessiontest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
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: Don't use testutils in mock libraries 2015-09-11 13:34:02 +02:00
virscsitest.c virfile: Check for existence of dir in virFileDeleteTree 2015-09-16 11:23:16 -04:00
virsh-all
virsh-optparse virsh: Move error messages inside vshCommandOpt*() functions 2015-06-02 09:20:31 -04:00
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 cgroup: Drop resource partition from virSystemdMakeScopeName 2015-07-22 07:12:56 +02:00
virt-aa-helper-test virt-aa-helper: allow access to /usr/share/ovmf/ 2015-08-24 13:00:39 +02:00
virtimetest.c Remove new lines from log messages 2015-11-04 13:09:35 +01:00
virtypedparamtest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
viruritest.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
virusbmock.c
virusbtest.c
vmwarevertest.c vmware: make version parsing more robust 2014-06-11 14:56:18 +02:00
vmx2xmltest.c vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01: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 vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01:00