Skip to contentSkip to conversation

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

PATCH New Baihua Lu 1 participant 1 message Nov 20, 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

When test is passed, _check_filesystems will execute. If there is no mkfs a new XFS filesystem $SCRATCH_DEV in this test, in the check filesystems stage, xfs_logprint will be failed for having dirty log and xfs_repaire will take a long time.

---
 tests/xfs/191-input-validation | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/xfs/191-input-validation +1 -1
index b6658015..fd239dbb 100755
@@ -34,7 +34,7 @@ _supported_os Linux
 _require_scratch
 _require_xfs_mkfs_validation
 
-
+_scratch_mkfs >/dev/null 2>&1
 
 rm -f $seqres.full
 echo silence is golden
Signature · 1 line
2.17.1