From: Dave Chinner Date: Tue, 3 Oct 2017 08:21:34 +0000 (+1100) Subject: fstests: update mkfs.xfs filters for new refactoring X-Git-Tag: v2022.05.01~1846 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ba637e0cdc06e77307b98e0c10f9021b1874413;p=xfstests-dev.git fstests: update mkfs.xfs filters for new refactoring From: Dave Chinner The new mkfs code adds some output to indicate where the defaults were sourced from, so filter that out so it doesn't contaminate tests unnecessarily. Signed-Off-By: Dave Chinner Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/xfs b/common/xfs index c869aaca..93eb5039 100644 --- a/common/xfs +++ b/common/xfs @@ -81,7 +81,8 @@ _scratch_mkfs_xfs() { local mkfs_cmd="`_scratch_mkfs_xfs_opts`" local mkfs_filter="sed -e '/less than device physical sector/d' \ - -e '/switching to logical sector/d'" + -e '/switching to logical sector/d' \ + -e '/Default configuration/d'" local tmp=`mktemp -u` local mkfs_status diff --git a/tests/xfs/206 b/tests/xfs/206 index 70997e3f..01782b7b 100755 --- a/tests/xfs/206 +++ b/tests/xfs/206 @@ -84,7 +84,8 @@ mkfs_filter() -e "s/\(sectsz\)\(=[0-9]* *\)/\1=512 /" \ -e "s/\(sunit=\)\([0-9]* blks,\)/\10 blks,/" \ -e "s/, lazy-count=[0-9]//" \ - -e "/.*crc=/d" + -e "/.*crc=/d" \ + -e "/^Default configuration/d" } # mkfs slightly smaller than that, small log for speed.