public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs/288: filter out extra mkfs warning
@ 2017-05-25  7:31 Zorro Lang
  0 siblings, 0 replies; only message in thread
From: Zorro Lang @ 2017-05-25  7:31 UTC (permalink / raw)
  To: fstests

If we use MKFS_OPTIONS="-m crc=1,finobt=1", xfs/288 will print
one more line:

  "warning: finobt not supported without CRC support, disabled."

That breaks the golden image, so filter it out.

Signed-off-by: Zorro Lang <zlang@redhat.com>
---
 tests/xfs/288 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/288 b/tests/xfs/288
index 6266dd8..0635001 100755
--- a/tests/xfs/288
+++ b/tests/xfs/288
@@ -58,7 +58,7 @@ if [ -z "$XFS_MKFS_HAS_NO_META_SUPPORT" ]; then
 	mkfs_opts="-m crc=0"
 fi
 # get block size ($dbsize) from the mkfs output
-_scratch_mkfs_xfs $mkfs_opts | _filter_mkfs 2>$tmp.mkfs >/dev/null
+_scratch_mkfs_xfs $mkfs_opts 2>/dev/null | _filter_mkfs 2>$tmp.mkfs >/dev/null
 . $tmp.mkfs
 
 _scratch_mount
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-25  7:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-25  7:31 [PATCH] xfs/288: filter out extra mkfs warning Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox