]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
tests/btrfs: add tests to the remount group
authorAnand Jain <anand.jain@oracle.com>
Wed, 22 Nov 2023 08:55:44 +0000 (16:55 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 9 Dec 2023 04:06:08 +0000 (12:06 +0800)
Several test cases under tests/btrfs are missing from the remount
group. This patch adds the test cases that use -o remount to the remount
group.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/015
tests/btrfs/163
tests/btrfs/164
tests/btrfs/167
tests/btrfs/220
tests/btrfs/233
tests/btrfs/258
tests/btrfs/263
tests/btrfs/276
tests/btrfs/293
tests/btrfs/301

index 7398f9bfd84ccda6a212d94109f816208761b67c..aeec8cc917c5dbe07d1260a2abac299575814717 100755 (executable)
@@ -8,7 +8,7 @@
 # readonly and remounting rw.
 #
 . ./common/preamble
-_begin_fstest auto quick snapshot
+_begin_fstest auto quick snapshot remount
 
 # Import common functions.
 . ./common/filter
index c2a04791aa673fba4e38709023587afdf305ec21..da31cfb8f1dd038166ee515de243328b1642f858 100755 (executable)
@@ -14,7 +14,7 @@
 #   c6a5d954950c btrfs: fail replace of seed device
 
 . ./common/preamble
-_begin_fstest auto quick volume seed
+_begin_fstest auto quick volume seed remount
 
 # Override the default cleanup function.
 _cleanup()
index 43c55c163cf237c5ac787799c82d743497cad06f..bc62b535ca0c66eedac0641b60be759f6ee07531 100755 (executable)
@@ -10,7 +10,7 @@
 #  Remount RW
 #  Run device delete on the seed device
 . ./common/preamble
-_begin_fstest auto quick volume
+_begin_fstest auto quick volume remount
 
 # Override the default cleanup function.
 _cleanup()
index fb271cfa1369e3d02125545495b4e9da4ac98357..99c984f433dc1f59ca03c76ea5e41f44bbccea33 100755 (executable)
@@ -11,7 +11,7 @@
 # ac0b4145d662 ("btrfs: scrub: Don't use inode pages for device replace")
 #
 . ./common/preamble
-_begin_fstest auto quick replace volume
+_begin_fstest auto quick replace volume remount
 
 # Import common functions.
 . ./common/filter
index b092f40bc1e001059ca0783b385c6775911c76c1..cc092c143274d4faa5daef53f633ecb187f962a3 100755 (executable)
@@ -8,7 +8,7 @@
 # * device= argument is already being test by btrfs/125
 # * space cache test already covered by test btrfs/131
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick remount
 
 _register_cleanup "cleanup"
 
index 6a414443307301f9fdfe0bfa27feff2be77322a8..2b94a9c6befee67ae3c5e90a6848463eabaa8413 100755 (executable)
@@ -9,7 +9,7 @@
 # performed.
 #
 . ./common/preamble
-_begin_fstest auto quick subvol
+_begin_fstest auto quick subvol remount
 
 # Override the default cleanup function.
 _cleanup()
index e4a23dcc4e7fc5f8e3cdfab3144623ea2e06fa90..a4d15c431e6c926476da0c0d8862451d0e49821f 100755 (executable)
@@ -8,7 +8,7 @@
 # in the middle
 #
 . ./common/preamble
-_begin_fstest auto defrag quick fiemap
+_begin_fstest auto defrag quick fiemap remount
 
 . ./common/filter
 
index 8ff363d15049fc2596700f9b2ca18ba00703e016..5bf8d49998f39a60afeacf59e3ceff1dca8c6d1c 100755 (executable)
@@ -8,7 +8,7 @@
 # defragmentation.
 #
 . ./common/preamble
-_begin_fstest auto quick defrag fiemap
+_begin_fstest auto quick defrag fiemap remount
 
 # Import common functions.
 . ./common/filter
index 8a21963c1223c7e6c943f23110b4df7d87ffb3a0..6470a2f6e62ed5e9a4c71d97f7ca79bef7f33e34 100755 (executable)
@@ -9,7 +9,7 @@
 # and when the file's subvolume was snapshoted.
 #
 . ./common/preamble
-_begin_fstest auto snapshot fiemap
+_begin_fstest auto snapshot fiemap remount
 
 . ./common/filter
 . ./common/attr
index 5cbbee8fd1c68faf5deff3fb27c0eb25ab787ff3..cded956468ee9ab930381f2bd598dd68a4f69da6 100755 (executable)
@@ -9,7 +9,7 @@
 # are removed, we will be able to activate the swapfile.
 #
 . ./common/preamble
-_begin_fstest auto quick swap snapshot
+_begin_fstest auto quick swap snapshot remount
 
 _cleanup()
 {
index 7a0b4c0e101294d097f07dfd6537c65072f21c24..16126471a024ba94f06b2c69feab7ceb664f5582 100755 (executable)
@@ -8,7 +8,7 @@
 # removing them in various orders.
 #
 . ./common/preamble
-_begin_fstest auto quick qgroup clone subvol prealloc snapshot
+_begin_fstest auto quick qgroup clone subvol prealloc snapshot remount
 
 # Import common functions.
 . ./common/reflink