generic/135: redirect stderr from _scratch_mkfs
authorEric Whitney <enwlinux@gmail.com>
Thu, 18 Aug 2016 15:04:56 +0000 (11:04 -0400)
committerEryu Guan <eguan@redhat.com>
Fri, 26 Aug 2016 07:29:49 +0000 (15:29 +0800)
commit758f71a33a3763ac0bdd5dd01213ae7b082dbc15
tree6250da69fab20cb99c697b83bf9237aca6ecab3d
parent6e21e45539c320c277c29a2c028b669f843f2160
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 <enwlinux@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/135