runtime.vars: add helper to check fstests configuration
authorDavid Disseldorp <ddiss@suse.de>
Wed, 17 May 2017 15:38:58 +0000 (17:38 +0200)
committerDavid Disseldorp <ddiss@suse.de>
Wed, 17 May 2017 15:38:58 +0000 (17:38 +0200)
commit200f74a8238bfc66ce63ab559e3d1497baa7ac94
tree67d58131ef8ede12b2a475bac6119e7cf7c3fc2e
parent831a89ed74340512c15daf60dab362acfde5be31
runtime.vars: add helper to check fstests configuration

_rt_require_fstests() checks that the fstests source directory exists,
and that the check executable is present.

This prepares for migration from a FSTESTS_DIR=<parent_path> rapido.conf
parameter, where <parent_path> is assumed to have an immediate xfstests
subdir, to an FSTESTS_SRC=<src_path>. This migration is possible now
that Dracut correctly handles installation of immediate files, when
installed via "dracut --include <dir_path> <initramfs_path>" - this was
broken in previous versions.

Signed-off-by: David Disseldorp <ddiss@suse.de>
runtime.vars