]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: add _require_sparse_files
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Nov 2010 13:53:36 +0000 (14:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Nov 2010 13:53:36 +0000 (14:53 +0100)
commit77fe563a78a4f278d521bdb685c7d735c6bf43e8
treeb32e80580c48402f6b71eaf4bf12ee34ca2c4354
parent3d3893eef9df6833b80303c004879461f981d906
xfstests: add _require_sparse_files

Add a helper to check if the filesystem supports sparse files.  This is
used to guard tests that exercise sparse file functionality and would
take forever on filesystems that have to zero all blocks on extending
truncates.

Unfortunately there's no good way to autodetect this functionality, so
just implement it as a blacklist for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
014
129
130
239
240
common.rc