Skip to contentSkip to conversation

xfs/191-input-validation:Fix issue that the test takes too long

PATCH In review Baihua Lu 2 participants 2 messages Nov 27, 2019

lore
Share & tools
lore

Baihua Lu

author
#0 lore raw

PATCH 1/1 xfs/191-input-validation:Fix issue that the test takes too long

After this test is passed, checking filesystems will execute. Then xfs_logprint will be failed and xfs_repair will take a long time because there is not really creating the file system in this test and wipefs executes before this test. So there is no need checking filesystems.

---
 tests/xfs/191-input-validation | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/xfs/191-input-validation +1 -1
index b6658015..db427349 100755
@@ -31,7 +31,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs xfs
 _supported_os Linux
-_require_scratch
+_require_scratch_nocheck
 _require_xfs_mkfs_validation
 
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Baihua Lu

After this test is passed, checking filesystems will execute. Then xfs_logprint will be failed and xfs_repair will take a long time because there is not really creating the file system in this test and wipefs executes before this test. So there is no need checking filesystems.

Ok, looks fine.

--D

Quoted 20 lines
---
 tests/xfs/191-input-validation | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/xfs/191-input-validation +1 -1
index b6658015..db427349 100755
@@ -31,7 +31,7 @@ _cleanup()
 # Modify as appropriate.
 _supported_fs xfs
 _supported_os Linux
-_require_scratch
+_require_scratch_nocheck
 _require_xfs_mkfs_validation
 
 
Signature · 1 line
2.17.1