]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
f2fs/015: clear MKFS_OPTIONS and MOUNT_OPTIONS
authorJoanne Chang <joannechien@google.com>
Wed, 12 Nov 2025 13:52:21 +0000 (13:52 +0000)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Nov 2025 07:12:01 +0000 (15:12 +0800)
commit288a86433f0a6cf93d0bba78084c4323c91d2b6a
tree5e0c08c200a4518a53c47f9db48c3dabfbdb1815
parenta11b37ec4265015e59ab3f47578d5967ef8ed75a
f2fs/015: clear MKFS_OPTIONS and MOUNT_OPTIONS

Currently, residual options can interfere with checking the mount
behavior of the listed MKFS_OPTIONS and MOUNT_OPTIONS. For example,
"Option#120: test_dummy_encryption" should fail with the listed
options but succeeds if “MKFS_OPTIONS=encrypt” is preset. By
explicitly clearing MKFS_OPTIONS and MOUNT_OPTIONS, the test’s
reliability can be improved.

f2fs/015.out is also updated to expect failure for cases that require
additional mkfs attributes to mount.

Signed-off-by: Joanne Chang <joannechien@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/f2fs/015
tests/f2fs/015.out