libvirt/tests/storagepoolxml2xmlout
Ján Tomko 738dc3f4ad conf: storage: also sanitize source dir
Commit a7fb2258 added sanitization of storage pool target paths,
however source dir paths were left unsanitized.

A netfs pool with:
<source>
  <host name='10.20.30.40'/>
  <dir path='/nfs/'/>
</source>
will not be correctly detected as mounted by
virStorageBackendFileSystemIsMounted, because it shows up in the
mount list without the trailing slash.

Sanitize the source dir as well.

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

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
2019-06-25 17:11:56 +02:00
..
pool-dir-naming.xml
pool-dir.xml
pool-disk-device-nopartsep.xml conf: Add storage pool device attribute part_separator 2016-01-19 13:02:59 -05:00
pool-disk.xml
pool-fs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-gluster-sub.xml
pool-gluster.xml storage: document gluster pool 2013-11-25 11:03:19 -07:00
pool-iscsi-auth.xml
pool-iscsi-direct-auth.xml storage: Introduce iscsi_direct pool type 2018-08-06 12:23:55 +02:00
pool-iscsi-direct.xml storage: Introduce iscsi_direct pool type 2018-08-06 12:23:55 +02:00
pool-iscsi-multiiqn.xml
pool-iscsi-vendor-product.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-iscsi.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-create.xml
pool-logical-noname.xml conf: do not steal pointers from the pool source 2017-03-29 10:36:55 +02:00
pool-logical-nopath.xml Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
pool-logical.xml
pool-mpath.xml
pool-netfs-auto.xml tests: Add storagepool xml test for netfs-auto 2018-12-13 07:09:42 -05:00
pool-netfs-cifs.xml storage: Fix the schema and add tests for cifs pool 2015-06-15 17:25:33 -04:00
pool-netfs-gluster.xml
pool-netfs-ns-mountopts.xml storage: change custom namespace URIs to drop '/source' component 2019-01-31 12:34:05 +00:00
pool-netfs-protocol-ver.xml conf: Add optional NFS Source Pool <protocol ver='n'/> option 2019-01-29 19:15:27 -05:00
pool-netfs-slash.xml conf: storage: also sanitize source dir 2019-06-25 17:11:56 +02:00
pool-netfs.xml
pool-rbd-ipv6.xml storage: escape ipv6 for ceph mon hosts to librados 2019-06-18 17:14:17 +02:00
pool-rbd-ns-configopts.xml storage: change custom namespace URIs to drop '/source' component 2019-01-31 12:34:05 +00:00
pool-rbd-refresh-volume-allocation.xml storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
pool-rbd.xml
pool-scsi-type-fc-host-managed.xml
pool-scsi-type-fc-host.xml
pool-scsi-type-scsi-host-stable.xml
pool-scsi-type-scsi-host.xml
pool-scsi.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-sheepdog.xml
pool-vstorage.xml
pool-zfs-sourcedev.xml
pool-zfs.xml zfs: fix storagepoolxml2xml test 2015-05-27 14:03:42 +04:00