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
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
pool-iscsi-direct.xml
pool-iscsi-multiiqn.xml
pool-iscsi-vendor-product.xml
pool-iscsi.xml
pool-logical-create.xml
pool-logical-noname.xml
pool-logical-nopath.xml
pool-logical.xml
pool-mpath.xml
pool-netfs-auto.xml
pool-netfs-cifs.xml
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
pool-sheepdog.xml
pool-vstorage.xml
pool-zfs-sourcedev.xml
pool-zfs.xml