Description of problem: As rlMount is able to mount using various mount options, rlCheckMount should also provide a way how to check the mountpoint is mounted in such specified way. E.g. If I do someting like rlMount -o ro X Y, the check rlCheckMount -o rw Y should return false while rlCheckMount -o ro should return true. Obviously rlCheckMount Y should return true if the mount point is mounted with any options.
*** Bug 1194387 has been marked as a duplicate of this bug. ***
The feature is implemented in commit: https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=ed6a3069bde2802ba7ad20c6c00ff858f4da104e
Minor fixes to the feature: https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=e8807fc9cfa0f2daff53eb290b909267916082fc https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=c5565d4731d271854d3dc4f22121852ea078225f
Because rlCheckMount can check for the mount options, rlAssertMount shall be capable of asserting them: https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=f09f28f25095093d4e6491178588e00af3cf7101
Documentation improvement: https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=8636dd8e3fd35ec73389204d77d0a6633a706a73