libvirt/tests/storagepoolxml2argvdata
John Ferlan f00cde7f11 storage: Add default mount options for fs/netfs storage pools
https://bugzilla.redhat.com/show_bug.cgi?id=1584663

Modify the command generation to add some default options to the
fs/netfs storage pools based on the OS type. For Linux, it'll be
the "nodev, nosuid, noexec". For FreeBSD, it'll be "nosuid, noexec".
For others, just leave the options alone.

Modify the storagepoolxml2argvtest to handle the fact that the
same input XML could generate different output XML based on whether
Linux, FreeBSD, or other was being built.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-01-29 19:15:20 -05:00
..
pool-fs-freebsd.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-fs-linux.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-fs.argv tests: Introduce tests for storage pool xml to argv checks 2018-12-13 07:09:42 -05:00
pool-logical-create.argv storage: Add tests for logical backend startup 2018-12-13 07:09:42 -05:00
pool-logical-noname.argv storage: Add tests for logical backend startup 2018-12-13 07:09:42 -05:00
pool-logical-nopath.argv storage: Add tests for logical backend startup 2018-12-13 07:09:42 -05:00
pool-logical.argv storage: Add tests for logical backend startup 2018-12-13 07:09:42 -05:00
pool-netfs-auto-freebsd.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-auto-linux.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-auto.argv tests: Add storagepool xml test for netfs-auto 2018-12-13 07:09:42 -05:00
pool-netfs-cifs-freebsd.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-cifs-linux.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-cifs.argv tests: Introduce tests for storage pool xml to argv checks 2018-12-13 07:09:42 -05:00
pool-netfs-freebsd.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-gluster-freebsd.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-gluster-linux.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs-gluster.argv tests: Introduce tests for storage pool xml to argv checks 2018-12-13 07:09:42 -05:00
pool-netfs-linux.argv storage: Add default mount options for fs/netfs storage pools 2019-01-29 19:15:20 -05:00
pool-netfs.argv tests: Introduce tests for storage pool xml to argv checks 2018-12-13 07:09:42 -05:00