Skip to contentSkip to conversation

fstests: add more dmerror related test cases into eio group

PATCH In review Zorro Lang 2 participants 2 messages Jul 31, 2022 – Aug 3, 2022

lore
Share & tools
lore

Zorro Lang

author
#0 lore raw

PATCH 1/1 fstests: add more dmerror related test cases into eio group

The g/484, g/628 and g/629 calls _dmerror_init and load error table for testing, better to count them in eio test group, then we won't miss them when we want to run all eio related cases.

---
 tests/generic/484 | 2 +-
 tests/generic/628 | 2 +-
 tests/generic/629 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tests/generic/484 +1 -1
index 40e83cbd..4f413352 100755
@@ -15,7 +15,7 @@
 #    buffer: record blockdev write errors in super_block that it backs
 
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick eio
 
 # Override the default cleanup function.
 _cleanup()
tests/generic/628 +1 -1
index 7dc6dfcd..380a7f0b 100755
@@ -11,7 +11,7 @@
 # 5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")
 
 . ./common/preamble
-_begin_fstest auto quick rw clone
+_begin_fstest auto quick rw clone eio
 
 # Override the default cleanup function.
 _cleanup()
tests/generic/629 +1 -1
index f501555e..dbd7ada8 100755
@@ -11,7 +11,7 @@
 # 5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")
 
 . ./common/preamble
-_begin_fstest auto quick rw copy_range
+_begin_fstest auto quick rw copy_range eio
 
 # Override the default cleanup function.
 _cleanup()
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Zorro Lang

The g/484, g/628 and g/629 calls _dmerror_init and load error table for testing, better to count them in eio test group, then we won't miss them when we want to run all eio related cases.

Looks correct to me,

--D

Quoted 48 lines
---
 tests/generic/484 | 2 +-
 tests/generic/628 | 2 +-
 tests/generic/629 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tests/generic/484 +1 -1
index 40e83cbd..4f413352 100755
@@ -15,7 +15,7 @@
 #    buffer: record blockdev write errors in super_block that it backs
 
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick eio
 
 # Override the default cleanup function.
 _cleanup()
tests/generic/628 +1 -1
index 7dc6dfcd..380a7f0b 100755
@@ -11,7 +11,7 @@
 # 5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")
 
 . ./common/preamble
-_begin_fstest auto quick rw clone
+_begin_fstest auto quick rw clone eio
 
 # Override the default cleanup function.
 _cleanup()
tests/generic/629 +1 -1
index f501555e..dbd7ada8 100755
@@ -11,7 +11,7 @@
 # 5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")
 
 . ./common/preamble
-_begin_fstest auto quick rw copy_range
+_begin_fstest auto quick rw copy_range eio
 
 # Override the default cleanup function.
 _cleanup()
Signature · 1 line
2.31.1