]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: Add more SEEK_HOLE tests
authorJan Kara <jack@suse.cz>
Wed, 17 May 2017 12:04:05 +0000 (14:04 +0200)
committerEryu Guan <eguan@redhat.com>
Wed, 17 May 2017 12:21:59 +0000 (20:21 +0800)
commit2508d61b63edd3ded471cb8528fee607e45a7467
tree61fd8100fd7f523cb4ec631cd0592b516b1eeaae
parentb245c5e43f28be788f768c260ebb8ec4e6e481cc
generic: Add more SEEK_HOLE tests

Add tests for bugs found in ext4 & xfs SEEK_HOLE implementations
fixed by following patches:

xfs: Fix missed holes in SEEK_HOLE implementation
ext4: Fix SEEK_HOLE

We add tests to seek_sanity_test as it is easiest to reuse its
infrastructure for seek tests, however not to regress generic/285
which uses seek_sanity_test we don't run new tests by default.
Instead we add options to select a range of tests to run and run new
tests from this new test.

[eguan: add $tmp definition and cleanup $tmp.* on exit]

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/seek_sanity_test.c
tests/generic/436 [new file with mode: 0755]
tests/generic/436.out [new file with mode: 0644]
tests/generic/group