From: Darrick J. Wong Date: Wed, 5 Feb 2020 00:01:48 +0000 (-0800) Subject: xfs/449: filter out "Discarding..." from output X-Git-Tag: v2022.05.01~877 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=1d22275b06aa6d1e66144e12775d23b058317978 xfs/449: filter out "Discarding..." from output xfsprogs 5.4 prints "Discarding..." if the disk supports the trim command. Filter this out of the output because xfs_info and friends won't print that out. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/449 b/tests/xfs/449 index 7aae1545..83c3c493 100755 --- a/tests/xfs/449 +++ b/tests/xfs/449 @@ -39,7 +39,7 @@ _require_scratch_nocheck _require_xfs_spaceman_command "info" _require_command "$XFS_GROWFS_PROG" xfs_growfs -_scratch_mkfs > $tmp.mkfs +_scratch_mkfs | sed -e '/Discarding/d' > $tmp.mkfs echo MKFS >> $seqres.full cat $tmp.mkfs >> $seqres.full