generic/204: don't flood stdout with ENOSPC messages on an ENOSPC test
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 15 Sep 2020 01:44:18 +0000 (18:44 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Sep 2020 16:58:24 +0000 (00:58 +0800)
commita8f5f152e4da616c5e3c58da6498bc931c8632fc
tree94b6cce970807c4c0bc70f56ef6cc5e1b6fa8b15
parentaa255e36c7cc44be6651e6d8407fe5eb2f4a3ab4
generic/204: don't flood stdout with ENOSPC messages on an ENOSPC test

This test has been on and off my bad list for many years due to the fact
that it will spew potentially millions of "No space left on device"
errors if the file count calculations are wrong.  The calculations
should be correct for the XFS data device, but they don't apply to other
filesystems.

Therefore, filter out the ENOSPC messages when the files are not going
to be created on the xfs data device (e.g. ext4, xfs realtime, etc.)

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>
tests/generic/204