Skip to contentSkip to conversation

xfs: add a few more tests to the repair group

PATCH In review Christoph Hellwig 2 participants 2 messages Jul 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: add a few more tests to the repair group

Add a bunch of tests that test repair for the RT subvolume to the repair group.

---
 tests/xfs/337 | 2 +-
 tests/xfs/338 | 2 +-
 tests/xfs/339 | 2 +-
 tests/xfs/340 | 2 +-
 tests/xfs/341 | 2 +-
 tests/xfs/342 | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
tests/xfs/337 +1 -1
index ca232c1c5..2ba508044 100755
@@ -7,7 +7,7 @@
 # Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal.
 #
 . ./common/preamble
-_begin_fstest fuzzers rmap realtime prealloc
+_begin_fstest fuzzers rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/338 +1 -1
index 1bdec2bfa..9648c9df4 100755
@@ -7,7 +7,7 @@
 # Set rrmapino to zero on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/339 +1 -1
index 90faac784..4dabe43ff 100755
@@ -7,7 +7,7 @@
 # Link rrmapino into the rootdir on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/340 +1 -1
index 58c4176a6..248d3233c 100755
@@ -7,7 +7,7 @@
 # Set rrmapino to another inode on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/341 +1 -1
index 424deb3eb..6e25549b2 100755
@@ -7,7 +7,7 @@
 # Cross-link file block into rtrmapbt and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime prealloc
+_begin_fstest auto quick rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/342 +1 -1
index 9360ddbe7..5c0e916db 100755
@@ -7,7 +7,7 @@
 # Cross-link rtrmapbt block into a file and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime prealloc
+_begin_fstest auto quick rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Christoph Hellwig

Add a bunch of tests that test repair for the RT subvolume to the repair group.

--D

Quoted 91 lines
---
 tests/xfs/337 | 2 +-
 tests/xfs/338 | 2 +-
 tests/xfs/339 | 2 +-
 tests/xfs/340 | 2 +-
 tests/xfs/341 | 2 +-
 tests/xfs/342 | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
tests/xfs/337 +1 -1
index ca232c1c5..2ba508044 100755
@@ -7,7 +7,7 @@
 # Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal.
 #
 . ./common/preamble
-_begin_fstest fuzzers rmap realtime prealloc
+_begin_fstest fuzzers rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/338 +1 -1
index 1bdec2bfa..9648c9df4 100755
@@ -7,7 +7,7 @@
 # Set rrmapino to zero on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/339 +1 -1
index 90faac784..4dabe43ff 100755
@@ -7,7 +7,7 @@
 # Link rrmapino into the rootdir on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/340 +1 -1
index 58c4176a6..248d3233c 100755
@@ -7,7 +7,7 @@
 # Set rrmapino to another inode on an rtrmap fs and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime
+_begin_fstest auto quick rmap realtime repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/341 +1 -1
index 424deb3eb..6e25549b2 100755
@@ -7,7 +7,7 @@
 # Cross-link file block into rtrmapbt and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime prealloc
+_begin_fstest auto quick rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
tests/xfs/342 +1 -1
index 9360ddbe7..5c0e916db 100755
@@ -7,7 +7,7 @@
 # Cross-link rtrmapbt block into a file and see if repair fixes it.
 #
 . ./common/preamble
-_begin_fstest auto quick rmap realtime prealloc
+_begin_fstest auto quick rmap realtime prealloc repair
 
 # Import common functions.
 . ./common/filter
Signature · 1 line
2.43.0