Commit Graph

6 Commits

Author SHA1 Message Date
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