Dracut tests already do similar checks for test 40, 62, 63 and 98.
This is useful when the full testsuite is run and systemd is not
available.
# shellcheck disable=SC2034
TEST_DESCRIPTION="root filesystem on a ext3 filesystem"
+test_check() {
+ command -v systemctl &> /dev/null
+}
+
KVERSION="${KVERSION-$(uname -r)}"
# Uncomment this to debug failures
# shellcheck disable=SC2034
TEST_DESCRIPTION="Full systemd serialization/deserialization test with /usr mount"
+test_check() {
+ command -v systemctl &> /dev/null
+}
+
export KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures