]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: add a new test case for ext4 indirect-based file
authorZheng Liu <wenqing.lz@taobao.com>
Fri, 16 Aug 2013 05:28:07 +0000 (05:28 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 16 Aug 2013 13:54:43 +0000 (08:54 -0500)
commit060dd14cc86c4c911921799980a9ea84b380be38
treee36652cb2e286762775b649f9479938aa30b26fe
parent617491caf44d5e93006d774da95f532e9d7de4c4
xfstests: add a new test case for ext4 indirect-based file

After applied this commit (864688d3), xfstests #255 will not test a
file system that cannot support fallocate(2), such as a indirect-based
file in ext4.  So we need to add a new generic test case to test it.

The difference between #255 and this test case is only to use pwrite to
allocate blocks.  Other filesystems should survive in this test case.
In the mean time, a new argument '-u' is added into _test_generic_punch
not to run unwritten tests.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/punch
tests/generic/316 [new file with mode: 0755]
tests/generic/316.out [new file with mode: 0644]
tests/generic/group