Bug 1191627 - [RFE] rlCheckMount should be also capable of checking mount options (ro/rw)
Summary: [RFE] rlCheckMount should be also capable of checking mount options (ro/rw)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Martin Kyral
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1194387 (view as bug list)
Depends On:
Blocks: 1191635
TreeView+ depends on / blocked
 
Reported: 2015-02-11 15:53 UTC by Dalibor Pospíšil
Modified: 2017-02-16 08:47 UTC (History)
5 users (show)

Fixed In Version: beakerlib-1.13-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-16 08:47:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dalibor Pospíšil 2015-02-11 15:53:20 UTC
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.

Comment 1 Dalibor Pospíšil 2015-02-20 10:08:50 UTC
*** Bug 1194387 has been marked as a duplicate of this bug. ***

Comment 2 Martin Kyral 2016-05-31 14:17:38 UTC
The feature is implemented in commit:

https://git.fedorahosted.org/cgit/beakerlib.git/commit/?h=devel&id=ed6a3069bde2802ba7ad20c6c00ff858f4da104e

Comment 4 Martin Kyral 2016-06-02 13:53:51 UTC
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


Note You need to log in before you can comment on or make changes to this bug.