diff options
author | Ruediger Meier | 2017-04-06 09:56:02 +0200 |
---|---|---|
committer | Karel Zak | 2017-04-06 12:30:09 +0200 |
commit | 4a4a617d03e0ccd87e0f47e00bc2a6a7ae0f4cf6 (patch) | |
tree | 8553d37720226356b4668fed546dd69eb0feedff /tests/expected/fincore | |
parent | tests: remove fincore SMALLER_THAN_PAGESIZE tests (diff) | |
download | kernel-qcow2-util-linux-4a4a617d03e0ccd87e0f47e00bc2a6a7ae0f4cf6.tar.gz kernel-qcow2-util-linux-4a4a617d03e0ccd87e0f47e00bc2a6a7ae0f4cf6.tar.xz kernel-qcow2-util-linux-4a4a617d03e0ccd87e0f47e00bc2a6a7ae0f4cf6.zip |
tests: fix fincore/count for PAGE_SIZE != 4096
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/expected/fincore')
-rw-r--r-- | tests/expected/fincore/count.4096 (renamed from tests/expected/fincore/count) | 0 | ||||
-rw-r--r-- | tests/expected/fincore/count.65536 | 55 | ||||
-rw-r--r-- | tests/expected/fincore/count.nosize | 55 |
3 files changed, 110 insertions, 0 deletions
diff --git a/tests/expected/fincore/count b/tests/expected/fincore/count.4096 index 46651365a..46651365a 100644 --- a/tests/expected/fincore/count +++ b/tests/expected/fincore/count.4096 diff --git a/tests/expected/fincore/count.65536 b/tests/expected/fincore/count.65536 new file mode 100644 index 000000000..0a9fab455 --- /dev/null +++ b/tests/expected/fincore/count.65536 @@ -0,0 +1,55 @@ +[ NO EXCITING FILE ] +fincore: failed to open: no_such_file: No such file or directory +return value: 1 + 0 0 i_EMPTY_FILE +return value: 0 + 1 65535 i_PAGESIZE_-1__incore_ +return value: 0 + 1 65536 i_JUST_PAGESIZE_incore_ +return value: 0 + 0 65536 i_JUST_PAGESIZE_directio_ +return value: 0 + 2 131072 i_TWO_PAGES_incore_ +return value: 0 + 0 131072 i_TWO_PAGES_directio_ +return value: 0 + 1 131072 i_TWO_PAGES_mixed_directio_incore_ +return value: 0 + 1 131072 i_TWO_PAGES_mixed_incore_directio_ +return value: 0 + 2 2147418112 i_WINDOW_SIZE_incore-sparse-incore_ +return value: 0 + 0 2147418112 i_WINDOW_SIZE_directio-sparse-directio_ +return value: 0 + 1 2147418112 i_WINDOW_SIZE_incore-sparse-directio_ +return value: 0 + 1 2147418112 i_WINDOW_SIZE_directio-sparse-incore_ +return value: 0 + 2 2147483648 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_ +return value: 0 + 0 2147483648 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_ +return value: 0 + 1 2147483648 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_ +return value: 0 + 1 2147483648 i_WINDOW_SIZE_+_1_page_directio-sparse-incore_ +return value: 0 +[ MULTIPLE FILES ] +fincore: failed to open: no_such_file: No such file or directory +PAGES SIZE FILE + 0 0 i_EMPTY_FILE + 1 65535 i_PAGESIZE_-1__incore_ + 1 65536 i_JUST_PAGESIZE_incore_ + 0 65536 i_JUST_PAGESIZE_directio_ + 2 131072 i_TWO_PAGES_incore_ + 0 131072 i_TWO_PAGES_directio_ + 1 131072 i_TWO_PAGES_mixed_directio_incore_ + 1 131072 i_TWO_PAGES_mixed_incore_directio_ + 2 2147418112 i_WINDOW_SIZE_incore-sparse-incore_ + 0 2147418112 i_WINDOW_SIZE_directio-sparse-directio_ + 1 2147418112 i_WINDOW_SIZE_incore-sparse-directio_ + 1 2147418112 i_WINDOW_SIZE_directio-sparse-incore_ + 2 2147483648 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_ + 0 2147483648 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_ + 1 2147483648 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_ + 1 2147483648 i_WINDOW_SIZE_+_1_page_directio-sparse-incore_ +return value: 1 diff --git a/tests/expected/fincore/count.nosize b/tests/expected/fincore/count.nosize new file mode 100644 index 000000000..d5704451c --- /dev/null +++ b/tests/expected/fincore/count.nosize @@ -0,0 +1,55 @@ +[ NO EXCITING FILE ] +fincore: failed to open: no_such_file: No such file or directory +return value: 1 + 0 i_EMPTY_FILE +return value: 0 + 1 i_PAGESIZE_-1__incore_ +return value: 0 + 1 i_JUST_PAGESIZE_incore_ +return value: 0 + 0 i_JUST_PAGESIZE_directio_ +return value: 0 + 2 i_TWO_PAGES_incore_ +return value: 0 + 0 i_TWO_PAGES_directio_ +return value: 0 + 1 i_TWO_PAGES_mixed_directio_incore_ +return value: 0 + 1 i_TWO_PAGES_mixed_incore_directio_ +return value: 0 + 2 i_WINDOW_SIZE_incore-sparse-incore_ +return value: 0 + 0 i_WINDOW_SIZE_directio-sparse-directio_ +return value: 0 + 1 i_WINDOW_SIZE_incore-sparse-directio_ +return value: 0 + 1 i_WINDOW_SIZE_directio-sparse-incore_ +return value: 0 + 2 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_ +return value: 0 + 0 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_ +return value: 0 + 1 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_ +return value: 0 + 1 i_WINDOW_SIZE_+_1_page_directio-sparse-incore_ +return value: 0 +[ MULTIPLE FILES ] +fincore: failed to open: no_such_file: No such file or directory +PAGES FILE + 0 i_EMPTY_FILE + 1 i_PAGESIZE_-1__incore_ + 1 i_JUST_PAGESIZE_incore_ + 0 i_JUST_PAGESIZE_directio_ + 2 i_TWO_PAGES_incore_ + 0 i_TWO_PAGES_directio_ + 1 i_TWO_PAGES_mixed_directio_incore_ + 1 i_TWO_PAGES_mixed_incore_directio_ + 2 i_WINDOW_SIZE_incore-sparse-incore_ + 0 i_WINDOW_SIZE_directio-sparse-directio_ + 1 i_WINDOW_SIZE_incore-sparse-directio_ + 1 i_WINDOW_SIZE_directio-sparse-incore_ + 2 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_ + 0 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_ + 1 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_ + 1 i_WINDOW_SIZE_+_1_page_directio-sparse-incore_ +return value: 1 |