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

Baihua Lu
2019-11-20T08:17:31Z

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@gmail.com>
---
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