mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <darrick.wong@oracle.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
1c5c2aa7f6
commit
1d22275b06
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user