Commit Graph

9 Commits

Author SHA1 Message Date
Jorge Schrauwen
c3667203bf add test for vfstab 2016-06-24 23:33:39 +02:00
Jorge Schrauwen
80e9d1d278 set __grains__ for fstab unit test 2016-06-24 23:28:53 +02:00
Jorge Schrauwen
a09055cba7 Fix for #14915 (#34254)
* mount.swaps now works on solarish like systems

* mount.swapon / mount.swapoff supported on solarish platforms

* mount.active (and internal consumers) now work on all solarish platforms

* unit-tests - mount_tests should set kernel grain
2016-06-24 10:32:48 -04:00
Justin Findlay
eb2964d517 modules.mount unit tests: mock /etc/fstab 2016-03-10 10:57:20 -07:00
Christophe Drevet-Droguet
9a268e05d6 mount exec module: resolve user/group names in opts
In relation to #25293, it solves the improbable case where the OS returns the
mount options as names instead of numeric ids. The module converts these names
to numeric ids before returning the opts.

This is done only for uid= and gid= opts, for now. It can be extended to others.
2015-12-08 12:43:47 +01:00
Pedro Algarvio
74801c80db Py3 compatibility 2015-01-30 22:27:12 +00:00
Justin Findlay
bcdab12b75 fix mount module unit tests
I currently don't have access to an OpenBSD system, so I don't know what
the 6 columns of output of `swapctl -kl` is since some of the outputted
columns are discarded by the mount module, but as they are discarded,
they do not affect the tests of mount.swaps.
2015-01-16 15:40:39 -07:00
Rupesh Tare
27a28e02c7 bug fixing 2015-01-08 14:23:45 +05:30
Rupesh Tare
42d6a26121 implimented unit test cases for mount module 2014-12-24 19:42:00 +05:30