summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/run-ptest
Commit message (Collapse)AuthorAgeFilesLines
* mdadm: fix more ptestsAlexander Kanavin2020-02-231-1/+1
| | | | | | | | | | | Particularly: 1. set $dir, so supplementary utilities can be found 2. disable integrity checks as they take more time than any other test (From OE-Core rev: a8983d659b27219a0d70e56882727ceddd0f4331) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: correctly set up testing location for ptestsAlexander Kanavin2020-01-271-0/+3
| | | | | | | | | | | | | | | 1. Do not clutter /, create a special-purpose dir 2. Clean up the dir after tests are done (if this is not performed, disk will overflow later in ptesting). 3. Fix up more locations in ptests to use the dir. Upstream default /var/tmp is not suitable as it is not big enough (mdadm needs about 500 Mb) (From OE-Core rev: cd4fc516ce0f8e4c5cadb7a700fe29643ed9128d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: make ptest output format align with common styleChangqing Li2019-07-171-16/+1
| | | | | | | (From OE-Core rev: 99176bce7a185c996ef892b4f9b2617825a607fb) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: improve the run-ptestMingli Yu2018-11-271-8/+17
| | | | | | | | | | | | | | | | | | | | | | * There are 120+ cases under ${libdir}/mdadm/ptest/tests, but the test will break if one test fails as below logic in run-ptest. ./test &>./test.log That's to say, the tests after the failed test have no chance to run with the current logic. To guarantee all the tests can run even one of the tests fails, the option --keep-going should be added. * Refactor the test report to make the report more detailed and more common (From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: add ptestDmitry Eremin-Solenikov2015-04-191-0/+10
Enable ptest for mdadm, by reusing internal testsuite. (From OE-Core rev: 313a6ee224831d842af8ca95d827bf17230540dc) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>