* [PATCH] common: filter more messages from _scratch_mkfs_ext4
@ 2016-03-02 16:57 Eryu Guan
0 siblings, 0 replies; only message in thread
From: Eryu Guan @ 2016-03-02 16:57 UTC (permalink / raw)
To: fstests; +Cc: yangx.jy, Eryu Guan
Commit a94334afa2ff ("common: filter warning messages from mkfs.ext4")
filtered warning messages from mke2fs stderr output but missed the
mke2fs version infomation message, and generic/135 still fails because
of this
QA output created by 135
+mke2fs 1.42.9 (28-Dec-2013)
0000000 1212 1212 1212 1212 1212 1212 1212 1212
So also filter out this message in _scratch_mkfs_ext4.
Reported-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
---
common/rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/rc b/common/rc
index 2773b85..a34c387 100644
--- a/common/rc
+++ b/common/rc
@@ -655,7 +655,7 @@ _scratch_mkfs_ext4()
fi
# output stored mkfs output
- grep -v ^Warning: $tmp_dir.mkfserr >&2
+ grep -v -e ^Warning: -e "^mke2fs " $tmp_dir.mkfserr >&2
cat $tmp_dir.mkfsstd
rm -f $tmp_dir.mkfserr $tmp_dir.mkfsstd
--
2.5.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-02 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02 16:57 [PATCH] common: filter more messages from _scratch_mkfs_ext4 Eryu Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox