]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: correctly set up testing location for ptests
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 23 Jan 2020 17:34:15 +0000 (18:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commitcd4fc516ce0f8e4c5cadb7a700fe29643ed9128d
tree7819b6dd49232f4251b4e3628fd9240d55359dae
parente0e30637a139feb744ca284aa63d47efefc5cb5d
mdadm: correctly set up testing location for ptests

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)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/mdadm/files/run-ptest
meta/recipes-extended/mdadm/mdadm_4.1.bb