]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/449: filter out deprecation warnings from mkfs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 1 Sep 2021 00:12:01 +0000 (17:12 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 5 Sep 2021 15:03:19 +0000 (23:03 +0800)
To avoid regressing this test when testing XFS v4 when mkfs is new
enough to whine about creating new deprecated filesystems, filter out
the deprecation warning.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/449

index a3fcd78e6e97e4121dab6f3458320fc0205c4b50..5374bf2f859144ac3e1a73dd5723db115d84ef30 100755 (executable)
@@ -23,7 +23,7 @@ _require_scratch_nocheck
 _require_xfs_spaceman_command "info"
 _require_command "$XFS_GROWFS_PROG" xfs_growfs
 
-_scratch_mkfs | sed -e '/Discarding/d' > $tmp.mkfs
+_scratch_mkfs | sed -e '/Discarding/d' -e '/deprecated/d' > $tmp.mkfs
 echo MKFS >> $seqres.full
 cat $tmp.mkfs >> $seqres.full