libvirt/tests
Matthias Bolte 847689129c esx: Rework datastore path parsing and handling
Instead of splitting the path part of a datastore path into
directory and file name, keep this in one piece. An example:

  "[datastore] directory/file"

was split into this before:

  datastoreName = "datastore"
  directoryName = "directory"
  fileName = "file"

Now it's split into this:

  datastoreName = "datastore"
  directoryName = "directory"
  directoryAndFileName = "directory/file"

This simplifies code using esxUtil_ParseDatastorePath, because
directoryAndFileName is used more often than fileName. Also the
old approach expected the datastore path to reference an actual
file, but this isn't always correct, especially when listing
volumes. In that case esxUtil_ParseDatastorePath is used to parse
a path that references a directory. This fails for a vpx://
connection because the vCenter returns directory paths with a
trailing '/'. The new approach is robust against this and the
actual decision if the datastore path should reference a file or
a directory is up to the caller of esxUtil_ParseDatastorePath.

Update the tests accordingly.
2010-09-03 00:38:22 +02:00
..
capabilityschemadata
confdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
domainschemadata vepa: parsing for 802.1Qb{g|h} XML 2010-05-25 17:37:00 -04:00
domainsnapshotxml2xmlin Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
domainsnapshotxml2xmlout Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
interfaceschemadata
networkxml2xmlin
networkxml2xmlout
nodedevschemadata
nodeinfodata
nwfilterxml2xmlin nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
nwfilterxml2xmlout nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
qemuhelpdata qemu_conf: fix flag value 2010-05-17 16:28:02 -06:00
qemuxml2argvdata Do not use boot=on on IDE device 2010-08-04 18:31:44 +02:00
qemuxml2xmloutdata qemu: virtio console support 2010-07-28 16:48:00 -04:00
sexpr2xmldata Add tests for Xen's blktap2 implementation 2010-08-31 09:54:24 -06:00
storagepoolxml2xmlin storage: add support for Vendor and Model in XML 2010-08-19 15:58:43 -06:00
storagepoolxml2xmlout storage: add support for Vendor and Model in XML 2010-08-19 15:58:43 -06:00
storagevolxml2xmlin
storagevolxml2xmlout
vmx2xmldata esx: Map the .vmx annotation to the domain XML description 2010-08-30 22:22:03 +02:00
xencapsdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
xmconfigdata xen tests: Fix missing "type ioemu" with rhel5-api 2010-08-24 10:10:16 +02:00
xml2sexprdata Add tests for Xen's blktap2 implementation 2010-08-31 09:54:24 -06:00
xml2vmxdata esx: Map the .vmx annotation to the domain XML description 2010-08-30 22:22:03 +02:00
.gitignore build: restore operation of bit-rotted 'make cov' 2010-07-29 13:41:25 -06:00
.valgrind.supp
capabilityschematest
conftest.c
cpuset tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
daemon-conf tests: avoid new failure of the daemon-conf test 2010-05-25 15:53:19 -06:00
define-dev-segfault domain conf: Track <console> target type 2010-07-28 16:47:59 -04:00
domainschematest tests: Test qemuxml2xml when expected xml changes 2010-07-28 16:47:56 -04:00
domainsnapshotschematest Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
esxutilstest.c esx: Rework datastore path parsing and handling 2010-09-03 00:38:22 +02:00
eventtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
Makefile.am build-sys: only build the test programs during the check phase. 2010-08-10 07:18:44 -06:00
networkschematest
networkxml2xmltest.c
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c nodeinfotest: Print libvirt error on failure 2010-08-24 10:10:16 +02:00
nwfilterschematest nwfilter: Add filter schema for nwfilter XML, extend domain XML schema 2010-04-06 11:09:46 -04:00
nwfilterxml2xmltest.c nwfilter: add support for RAPR protocol 2010-04-27 07:26:12 -04:00
object-locking.ml
oomtrace.pl
qemuargv2xmltest.c Add tests for the new Qemu namespace XML. 2010-07-23 17:30:45 -04:00
qemuhelptest.c qemu: Allow setting boot menu on/off 2010-07-27 16:38:32 -04:00
qemuxml2argvtest.c qemu: virtio console support 2010-07-28 16:48:00 -04:00
qemuxml2xmltest.c qemu: virtio console support 2010-07-28 16:48:00 -04:00
qparamtest.c
read-bufsiz tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
read-non-seekable tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
reconnect.c
schematestutils.sh schematestutils.sh: improve shell portability: avoid "echo -e" 2010-04-14 17:34:12 +02:00
secaatest.c secaatest: Fix compilation 2010-07-24 17:15:11 +02:00
seclabeltest.c Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01:00
sexpr2xmltest.c Add tests for Xen's blktap2 implementation 2010-08-31 09:54:24 -06:00
start tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
statstest.c
storagepoolschematest
storagepoolxml2xmltest.c storage: add support for Vendor and Model in XML 2010-08-19 15:58:43 -06:00
storagevolschematest
storagevolxml2xmltest.c
test_conf.sh
test-lib.sh
testutils.c
testutils.h
testutilsqemu.c Add tests for the new Qemu namespace XML. 2010-07-23 17:30:45 -04:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
undefine tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
vcpupin tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-all tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-schedinfo tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-synopsis tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virshtest.c virsh: ensure persistence and autostart are shown for dominfo and pool-info 2010-06-17 11:57:54 -06:00
virt-aa-helper-test virt-aa-helper-test: Fix failure due to the new disk format probing option 2010-07-24 17:15:11 +02:00
vmx2xmltest.c esx: Map the .vmx annotation to the domain XML description 2010-08-30 22:22:03 +02:00
xencapstest.c
xmconfigtest.c xen tests: Fix PV-VFB tests with RHEL-5 API 2010-08-24 10:10:16 +02:00
xml2sexprtest.c Add tests for Xen's blktap2 implementation 2010-08-31 09:54:24 -06:00
xml2vmxtest.c esx: Rework datastore path parsing and handling 2010-09-03 00:38:22 +02:00