]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
ext4/053: Test remount without changing mount options
authorLukas Czerner <lczerner@redhat.com>
Thu, 20 Jan 2022 10:20:25 +0000 (11:20 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 Jan 2022 14:25:12 +0000 (22:25 +0800)
commitb454412847f35a8102d8d8080d159cfec77c0384
tree85d6beef7e736a088b7976f2cb29b521dca533a3
parent5c0235c9565c53aff2338f17da101eff7c13e582
ext4/053: Test remount without changing mount options

With the recent ext4 mount api change we discovered a bugs that weren't
caught by this test. It was triggered by remounting the file system
either with the same mount options, or without specifying any mount
options at all. In this case we would expect the original mount options
to remain the same, however this was either not the case, or the remount
failed.

Add a remount test after a regular mount. Remount once with specifying
the original mount option and remount second time without specifying
anything. Test the active options after each test.

Additionally include all the combinations of data= options in the
remount test for the sake of completeness.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/ext4/053