mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: test 205, test writing to ENOSPC
Use larger files and different writing styles to fill a 100MB filesystem to being full. In each case we should get very close to the filesystem being full before getting ENOSPC. This tests different types of ENOSPC failures to test 203 and requires more changes to pass. Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
143368a047
commit
bbcb978f8b
@@ -167,5 +167,16 @@ _filter_growfs()
|
||||
}'
|
||||
}
|
||||
|
||||
_filter_dd()
|
||||
{
|
||||
$AWK_PROG '
|
||||
/records in/ { next }
|
||||
/records out/ { next }
|
||||
/No space left on device/ { print " !!! disk full (expected)"
|
||||
next }
|
||||
{ print " *** " $0 }
|
||||
'
|
||||
}
|
||||
|
||||
# make sure this script returns success
|
||||
/bin/true
|
||||
|
||||
Reference in New Issue
Block a user