From: Eric Whitney Date: Thu, 18 Aug 2016 15:04:56 +0000 (-0400) Subject: generic/135: redirect stderr from _scratch_mkfs X-Git-Tag: v2022.05.01~2388 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=758f71a33a3763ac0bdd5dd01213ae7b082dbc15;p=users%2Fhch%2Fxfstests-dev.git generic/135: redirect stderr from _scratch_mkfs In generic/135, benign warning message output from _scratch_mkfs on stderr can cause a golden output mismatch, as can occur when testing an ext4 bigalloc file system. It's the only generic test that does not also redirect stderr when directing _scratch_mkfs' stdout to /dev/null. Since error output from _scratch_mkfs doesn't seem important to the overall intent of the test, there should be no harm in making its stderr handling consistent. Signed-off-by: Eric Whitney Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/generic/135 b/tests/generic/135 index 52418f696..14b81321d 100755 --- a/tests/generic/135 +++ b/tests/generic/135 @@ -41,7 +41,7 @@ _supported_os Linux IRIX _require_odirect _require_scratch -_scratch_mkfs >/dev/null +_scratch_mkfs >/dev/null 2>&1 _scratch_mount cd $SCRATCH_MNT