[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220501051928.540278-3-ebiggers@kernel.org>
Date: Sat, 30 Apr 2022 22:19:28 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: fstests@...r.kernel.org
Cc: linux-fscrypt@...r.kernel.org, linux-ext4@...r.kernel.org,
Lukas Czerner <lczerner@...hat.com>
Subject: [xfstests PATCH 2/2] ext4/053: test changing test_dummy_encryption on remount
From: Eric Biggers <ebiggers@...gle.com>
The test_dummy_encryption mount option isn't supposed to be settable or
changeable via a remount, so add test cases for this.
Signed-off-by: Eric Biggers <ebiggers@...gle.com>
---
tests/ext4/053 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/ext4/053 b/tests/ext4/053
index 84f3eab9..3d530953 100755
--- a/tests/ext4/053
+++ b/tests/ext4/053
@@ -686,6 +686,9 @@ for fstype in ext2 ext3 ext4; do
mnt test_dummy_encryption=v2
not_mnt test_dummy_encryption=bad
not_mnt test_dummy_encryption=
+ # Can't be set or changed on remount.
+ mnt_then_not_remount defaults test_dummy_encryption
+ mnt_then_not_remount test_dummy_encryption=v1 test_dummy_encryption=v2
do_mkfs -O ^encrypt $SCRATCH_DEV ${SIZE}k
fi
not_mnt test_dummy_encryption
--
2.36.0
Powered by blists - more mailing lists