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
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 conf: do not steal pointers from the pool source 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 storage: Fix the schema and add tests for cifs pool 2015-06-15 17:25:33 -04:00
pool-netfs-gluster.xml conf: storage: Don't emit empty <permissions> block 2015-05-25 20:52:57 -04:00
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 tests: storagepoolxml2xmltest: Fix pool-rbd test 2016-03-28 12:02:31 -04:00
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 tests: storage: Fix storage xml2xml test for vstorage pool 2017-01-27 10:39:53 +01:00
pool-zfs-sourcedev.xml zfs: fix storagepoolxml2xml test 2015-05-27 14:03:42 +04:00
pool-zfs.xml zfs: fix storagepoolxml2xml test 2015-05-27 14:03:42 +04:00