summaryrefslogtreecommitdiffstats
path: root/tests/ts/fincore
diff options
context:
space:
mode:
authorRuediger Meier2017-04-06 09:56:01 +0200
committerKarel Zak2017-04-06 12:30:08 +0200
commit0614fe48bc7db29f204321cd18592958d673c40f (patch)
treec4f90240eddfb2fad6a3ae28d9e6036bcf649729 /tests/ts/fincore
parentlibfdisk: (gpt) care about SSIZE_MAX for read(2) (diff)
downloadkernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.tar.gz
kernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.tar.xz
kernel-qcow2-util-linux-0614fe48bc7db29f204321cd18592958d673c40f.zip
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>
Diffstat (limited to 'tests/ts/fincore')
-rwxr-xr-xtests/ts/fincore/count8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count
index 87e25a814..8f23fece5 100755
--- a/tests/ts/fincore/count
+++ b/tests/ts/fincore/count
@@ -92,10 +92,6 @@ input=
} >> $TS_OUTPUT 2>&1
{
- run_dd_test "SMALLER THAN PAGESIZE (incore)" $(( PAGE_SIZE / 2 ))
-} >> $TS_OUTPUT 2>&1
-
-{
run_dd_test "PAGESIZE -1 (incore)" $(( PAGE_SIZE - 1 ))
} >> $TS_OUTPUT 2>&1
@@ -108,10 +104,6 @@ input=
} >> $TS_OUTPUT 2>&1
{
- run_dd_test "PAGESIZE + 1 (incore)" $(( PAGE_SIZE + 1 ))
-} >> $TS_OUTPUT 2>&1
-
-{
run_dd_test "TWO PAGES(incore)" $(( 2 * PAGE_SIZE ))
} >> $TS_OUTPUT 2>&1