]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: remove fincore SMALLER_THAN_PAGESIZE tests
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 6 Apr 2017 07:56:01 +0000 (09:56 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 6 Apr 2017 10:30:08 +0000 (12:30 +0200)
commit0614fe48bc7db29f204321cd18592958d673c40f
treec4f90240eddfb2fad6a3ae28d9e6036bcf649729
parenta8294f401f627bd6e9f918d629caebfdf4bdc9f6
tests: remove fincore SMALLER_THAN_PAGESIZE tests

These tests failed for example on ext4 with a non-default
blocksize 1024. In this case it seems that the kernel only
caches a full page if we read at least PAGE_SIZE -BLOCK_SIZE +1.

Both tests also failed on NFS allthough block size seems to be
1M there.

We still keep the test for PAGE_SIZE-1 which seems to work more
reliable.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/expected/fincore/count
tests/ts/fincore/count