libvirt/tests
Jiri Denemark ffbafd4e88 qemu: Avoid using ".(null)" in UNIX socket path
The code which generates paths for UNIX socket blindly used target name
without checking if it was set. Thus for the following device XML

    <channel type='unix'>
      <source mode='bind'/>
      <target type='virtio'/>
    </channel>

we would generate "/var/lib/libvirt/qemu/channel/target/NAME.(null)"
path which works but is not really correct. Let's not use the
".target_name" suffix at all if target name is not set.

https://bugzilla.redhat.com/show_bug.cgi?id=1226854

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2015-07-01 09:47:32 +02:00
..
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata
confdata Add configuration options for permissions on daemon's admin socket 2015-06-16 13:46:21 +02:00
cputestdata
domaincapsschemadata
domainconfdata
domainschemadata
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
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
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
nodeinfodata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemucapabilitiesdata qemu: Implement pci-serial 2015-05-21 17:49:02 +02:00
qemucaps2xmldata
qemuhelpdata
qemuhotplugtestdata
qemumonitorjsondata
qemuxml2argvdata qemu: Avoid using ".(null)" in UNIX socket path 2015-07-01 09:47:32 +02:00
qemuxml2xmloutdata conf: Ignore multiqueue with one queue. 2015-06-11 14:17:46 +02:00
qemuxmlnsdata
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata caps: Use DomainDataLookup to replace GuestDefault* 2015-04-20 16:43:13 -04:00
sexpr2xmldata
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
storagevolxml2xmlin
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
vircaps2xmldata
vircgroupdata
virfiledata
virnetdaemondata tests: Adapt virnetservertest to daemon refactor 2015-06-16 13:46:20 +02:00
virnetdevtestdata/sys/class/net
virnetserverdata tests: Adapt virnetservertest to daemon refactor 2015-06-16 13:46:20 +02:00
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xencapsdata
xlconfigdata xenconfig: fix spice mousemode and copypaste 2015-05-18 12:46:16 -06:00
xmconfigdata
xml2sexprdata
xml2vmxdata
.valgrind.supp
bhyvexml2argvmock.c
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
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
eventtest.c
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
lxcconf2xmltest.c
lxcxml2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
Makefile.am util: multi-value virTypedParameter 2015-06-18 16:46:09 +02:00
metadatatest.c
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 tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
networkxml2xmlupdatetest.c network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
nwfilterebiptablestest.c
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
objectlocking.ml
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
qemucaps2xmlmock.c
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 test: qemu: Make sure that wr_highest_offset_valid gets set properly 2015-06-26 16:41:24 +02:00
qemumonitortest.c qemu: monitor: Open-code retrieval of wr_highest_offset 2015-06-26 16:41:24 +02:00
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c
qemuxml2argvtest.c qemu: Avoid using ".(null)" in UNIX socket path 2015-07-01 09:47:32 +02:00
qemuxml2xmltest.c conf: Format scheduler priority when it is zero 2015-06-25 23:25:30 +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
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
sexpr2xmltest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
shunloadhelper.c
shunloadtest.c
sockettest.c network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -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: Use *DefParseFile more 2015-04-23 17:08:48 -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 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 Convert SCSI logical unit from unsigned int to unsigned long long 2015-06-22 16:03:33 -04:00
testutilsqemu.h
testutilsxen.c caps: Convert to use VIR_DOMAIN_VIRT internally 2015-04-20 16:40:26 -04:00
testutilsxen.h
utiltest.c utiltest: Use int8_t instead of char. 2015-06-08 12:54:32 +02:00
vboxsnapshotxmltest.c
vcpupin virsh: Move error messages inside vshCommandOpt*() functions 2015-06-02 09:20:31 -04:00
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
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 vircapstest: Properly report error for failed tests 2015-06-24 13:47:05 +02:00
vircgroupmock.c
vircgrouptest.c tests: Add virtTestCompareToFile 2015-04-23 17:08:48 -04:00
vircryptotest.c
virdbustest.c
virdrivermoduletest.c
virendiantest.c
virfiletest.c
virfirewalltest.c
virhashdata.h
virhashtest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmock.h
virmockdbus.c
virnetdaemontest.c tests: Adapt virnetservertest to daemon refactor 2015-06-16 13:46:20 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c virNetDevBandwidthSet: Add priority to filter 2015-04-17 10:18:58 +02:00
virnetdevmock.c
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c rpc: add API for checking IPv4/6 availability 2015-06-11 12:11:18 +01:00
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
virportallocatortest.c tests: Add VIR_TEST_DEBUG and VIR_TEST_VERBOSE 2015-04-23 17:08:48 -04:00
virscsitest.c
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
virstringtest.c
virsystemdtest.c
virt-aa-helper-test
virtimetest.c
virtypedparamtest.c util: add virTypedParamsAddStringList 2015-06-18 16:46:09 +02:00
viruritest.c
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