FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] xfs: add a few more tests to the repair group
@ 2024-07-15  5:38 Christoph Hellwig
  2024-07-15 18:50 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2024-07-15  5:38 UTC (permalink / raw)
  To: zlang; +Cc: djwong, linux-xfs, fstests

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 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(-)

diff --git a/tests/xfs/337 b/tests/xfs/337
index ca232c1c5..2ba508044 100755
--- a/tests/xfs/337
+++ b/tests/xfs/337
@@ -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
diff --git a/tests/xfs/338 b/tests/xfs/338
index 1bdec2bfa..9648c9df4 100755
--- a/tests/xfs/338
+++ b/tests/xfs/338
@@ -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
diff --git a/tests/xfs/339 b/tests/xfs/339
index 90faac784..4dabe43ff 100755
--- a/tests/xfs/339
+++ b/tests/xfs/339
@@ -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
diff --git a/tests/xfs/340 b/tests/xfs/340
index 58c4176a6..248d3233c 100755
--- a/tests/xfs/340
+++ b/tests/xfs/340
@@ -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
diff --git a/tests/xfs/341 b/tests/xfs/341
index 424deb3eb..6e25549b2 100755
--- a/tests/xfs/341
+++ b/tests/xfs/341
@@ -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
diff --git a/tests/xfs/342 b/tests/xfs/342
index 9360ddbe7..5c0e916db 100755
--- a/tests/xfs/342
+++ b/tests/xfs/342
@@ -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
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: add a few more tests to the repair group
  2024-07-15  5:38 [PATCH] xfs: add a few more tests to the repair group Christoph Hellwig
@ 2024-07-15 18:50 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2024-07-15 18:50 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: zlang, linux-xfs, fstests

On Mon, Jul 15, 2024 at 07:38:37AM +0200, Christoph Hellwig wrote:
> Add a bunch of tests that test repair for the RT subvolume to the repair
> group.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  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(-)
> 
> diff --git a/tests/xfs/337 b/tests/xfs/337
> index ca232c1c5..2ba508044 100755
> --- a/tests/xfs/337
> +++ b/tests/xfs/337
> @@ -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
> diff --git a/tests/xfs/338 b/tests/xfs/338
> index 1bdec2bfa..9648c9df4 100755
> --- a/tests/xfs/338
> +++ b/tests/xfs/338
> @@ -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
> diff --git a/tests/xfs/339 b/tests/xfs/339
> index 90faac784..4dabe43ff 100755
> --- a/tests/xfs/339
> +++ b/tests/xfs/339
> @@ -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
> diff --git a/tests/xfs/340 b/tests/xfs/340
> index 58c4176a6..248d3233c 100755
> --- a/tests/xfs/340
> +++ b/tests/xfs/340
> @@ -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
> diff --git a/tests/xfs/341 b/tests/xfs/341
> index 424deb3eb..6e25549b2 100755
> --- a/tests/xfs/341
> +++ b/tests/xfs/341
> @@ -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
> diff --git a/tests/xfs/342 b/tests/xfs/342
> index 9360ddbe7..5c0e916db 100755
> --- a/tests/xfs/342
> +++ b/tests/xfs/342
> @@ -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
> -- 
> 2.43.0
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-15 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15  5:38 [PATCH] xfs: add a few more tests to the repair group Christoph Hellwig
2024-07-15 18:50 ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox