]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (libmount) improve explicit loop read-write mount check
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 13 Oct 2025 18:53:59 +0000 (14:53 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 13 Oct 2025 18:53:59 +0000 (14:53 -0400)
commit95f3fbfc4f5584261e1ad91dba35c92673f03890
tree205085c6f4b741ade52bffcf75489b4dbfd56cd9
parentdb0efab5c3e13794ae79fcb3db8371e3af510169
tests: (libmount) improve explicit loop read-write mount check

Some kernel configurations will affect default mount behavior
and add extra mount options. As a result, the $TS_OUTPUT will not
reliably match on all kernels. Therefore it is better to simply
test whether 'rw' is an option and not write the full options
list to $TS_OUTPUT.

Adresses: #3765
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/expected/libmount/loop-explicit-rw
tests/ts/libmount/loop