libvirt/tests/storagepoolxml2xmlin
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
pool-disk.xml
pool-fs.xml
pool-gluster-sub.xml
pool-gluster.xml
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
pool-iscsi.xml
pool-logical-create.xml
pool-logical-noname.xml schema: do not require name for certain pool types 2017-03-29 10:36:55 +02:00
pool-logical-nopath.xml
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
pool-netfs-gluster-without-slash.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 storage: vstorage pool documentation and simple test 2017-01-26 10:43:42 -05:00
pool-zfs-sourcedev.xml
pool-zfs.xml