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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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.

Signed-off-by: Baihua Lu <lubaihua0331@xxxxxxxxx>
---
 tests/xfs/191-input-validation | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/191-input-validation b/tests/xfs/191-input-validation
index b6658015..fd239dbb 100755
--- a/tests/xfs/191-input-validation
+++ b/tests/xfs/191-input-validation
@@ -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
-- 
2.17.1




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux