summaryrefslogtreecommitdiffstats
path: root/tests/expected/fincore
diff options
context:
space:
mode:
authorMasatake YAMATO2017-03-07 03:33:51 +0100
committerKarel Zak2017-03-23 12:46:40 +0100
commitc1cc045d127364898b9cfd654213ea04ea2d479a (patch)
tree855c7a88799c8e9d7e73940430f02aa2ac9bda9a /tests/expected/fincore
parentman: add a page for fincore command (diff)
downloadkernel-qcow2-util-linux-c1cc045d127364898b9cfd654213ea04ea2d479a.tar.gz
kernel-qcow2-util-linux-c1cc045d127364898b9cfd654213ea04ea2d479a.tar.xz
kernel-qcow2-util-linux-c1cc045d127364898b9cfd654213ea04ea2d479a.zip
tests: add cases for testing fincore command
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Diffstat (limited to 'tests/expected/fincore')
-rw-r--r--tests/expected/fincore/count62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/expected/fincore/count b/tests/expected/fincore/count
new file mode 100644
index 000000000..0ee335e91
--- /dev/null
+++ b/tests/expected/fincore/count
@@ -0,0 +1,62 @@
+[ NO EXCITING FILE ]
+fincore: failed to open: no_such_file: No such file or directory
+failed -1 no_such_file
+return value: 1
+0 0 i_EMPTY_FILE
+return value: 0
+1 2048 i_SMALLER_THAN_PAGESIZE__incore_
+return value: 0
+1 4095 i_PAGESIZE_-1__incore_
+return value: 0
+1 4096 i_JUST_PAGESIZE_incore_
+return value: 0
+0 4096 i_JUST_PAGESIZE_directio_
+return value: 0
+2 4097 i_PAGESIZE_+_1__incore_
+return value: 0
+2 8192 i_TWO_PAGES_incore_
+return value: 0
+0 8192 i_TWO_PAGES_directio_
+return value: 0
+1 8192 i_TWO_PAGES_mixed_directio_incore_
+return value: 0
+1 8192 i_TWO_PAGES_mixed_incore_directio_
+return value: 0
+2 134213632 i_WINDOW_SIZE_incore-sparse-incore_
+return value: 0
+0 134213632 i_WINDOW_SIZE_directio-sparse-directio_
+return value: 0
+1 134213632 i_WINDOW_SIZE_incore-sparse-directio_
+return value: 0
+1 134213632 i_WINDOW_SIZE_directio-sparse-incore_
+return value: 0
+2 134217728 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_
+return value: 0
+0 134217728 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_
+return value: 0
+1 134217728 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_
+return value: 0
+1 134217728 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
+failed -1 no_such_file
+0 0 i_EMPTY_FILE
+1 2048 i_SMALLER_THAN_PAGESIZE__incore_
+1 4095 i_PAGESIZE_-1__incore_
+1 4096 i_JUST_PAGESIZE_incore_
+0 4096 i_JUST_PAGESIZE_directio_
+2 4097 i_PAGESIZE_+_1__incore_
+2 8192 i_TWO_PAGES_incore_
+0 8192 i_TWO_PAGES_directio_
+1 8192 i_TWO_PAGES_mixed_directio_incore_
+1 8192 i_TWO_PAGES_mixed_incore_directio_
+2 134213632 i_WINDOW_SIZE_incore-sparse-incore_
+0 134213632 i_WINDOW_SIZE_directio-sparse-directio_
+1 134213632 i_WINDOW_SIZE_incore-sparse-directio_
+1 134213632 i_WINDOW_SIZE_directio-sparse-incore_
+2 134217728 i_WINDOW_SIZE_+_1_page_incore-sparse-incore_
+0 134217728 i_WINDOW_SIZE_+_1_page_directio-sparse-directio_
+1 134217728 i_WINDOW_SIZE_+_1_page_incore-sparse-directio_
+1 134217728 i_WINDOW_SIZE_+_1_page_directio-sparse-incore_
+return value: 1