summaryrefslogtreecommitdiffstats
path: root/tests/ts/fincore
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix fincore/count KNOWN_FAILRuediger Meier2018-01-241-4/+3Star
| | | | | | It has to be set after calling ts_init. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: mark fincore/count as KNOWN_FAILKarel Zak2018-01-171-0/+4
| | | | | | | The test (or our expectations about Direct-IO) seems not robust enough. I guess this is not fincore problem. Signed-off-by: Karel Zak <kzak@redhat.com>
* misc: POSIX usage dd, regarding unit suffixesRuediger Meier2017-06-141-1/+1
| | | | | | | | | In POSIX we have only 'b' and 'k' (case-sensitive). In the real work, OSX was the only system I've found which does not understand capital 'K'. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fincore, don't use variable COLUMNSRuediger Meier2017-06-141-6/+6
| | | | | | | | | COLUMNS is automatically set by bash and may result in stupid errors like fincore: unknown column: 160 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check for TS_HELPER_SYSINFO in fincore testKarel Zak2017-05-231-5/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fincore/count, skip unsupported FSRuediger Meier2017-04-061-0/+17
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: handle dd errors in fincore/countRuediger Meier2017-04-061-11/+20
| | | | | | | On dd error the test will fail earlier and the test diff will be more useful. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fincore/count for PAGE_SIZE != 4096Ruediger Meier2017-04-061-4/+14
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: remove fincore SMALLER_THAN_PAGESIZE testsRuediger Meier2017-04-061-8/+0Star
| | | | | | | | | | | | | | 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: define columns for fincore testKarel Zak2017-03-271-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove status=none dd(1) from fincoreKarel Zak2017-03-241-1/+4
| | | | | | | | | seems dd(1) sucks on travis more than expected: dd: invalid status flag: `none' Try `dd --help' for more information. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: redirect unwanted dd(1) advices to /dev/nullKarel Zak2017-03-241-3/+3
| | | | | | | | | | It seems that dd(1) on travis writes unwanted messages to stdout dd: you probably want conv=notrunc with oflag=append and we do not want conv= Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh fincore testKarel Zak2017-03-231-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add cases for testing fincore commandMasatake YAMATO2017-03-231-0/+194
Signed-off-by: Masatake YAMATO <yamato@redhat.com>