]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: filter warning messages from mkfs.ext4
authorTheodore Ts'o <tytso@mit.edu>
Sun, 28 Feb 2016 23:18:32 +0000 (10:18 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 28 Feb 2016 23:18:32 +0000 (10:18 +1100)
commita94334afa2ffdb104eec081a34e5d31922223b3d
treef0c6b2430e72fe04891a0c44d8c50f80cdd4be71
parent902223bdbbf298e8860e9f2ec6b831eb5d62cee0
common: filter warning messages from mkfs.ext4

Commit 4a5cda8102828 ("xfstests: do not unmount tmpfs during remount")
changed generic/135 to no longer redirect stderr to /dev/null when
running _scratch_mkfs.  This caused ext4 using a 1k block size to fail
when running this test because mkfs.ext4 would issue a warning message
about the use of a non-block size that wasn't expected by golden
output for the test.  Fix this by filtering out warning messages in
_scratch_mkfs_ext4.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc