From: Laszlo Gombos Date: Wed, 19 Oct 2022 01:53:42 +0000 (+0000) Subject: test: install debug module into what test case is booting into X-Git-Tag: 058~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fff80cc094e43d8162eb782cfae3bf7e438e4e76;p=thirdparty%2Fdracut.git test: install debug module into what test case is booting into This will also make some of the non-essential tools optional instead of a hard dependency. --- diff --git a/modules.d/80test-root/module-setup.sh b/modules.d/80test-root/module-setup.sh index 36635bad2..b8f35c648 100755 --- a/modules.d/80test-root/module-setup.sh +++ b/modules.d/80test-root/module-setup.sh @@ -5,6 +5,10 @@ check() { return 255 } +depends() { + echo "debug" +} + install() { inst_simple /etc/os-release diff --git a/test/TEST-03-USR-MOUNT/test.sh b/test/TEST-03-USR-MOUNT/test.sh index 27fd3e60d..f1b8e209f 100755 --- a/test/TEST-03-USR-MOUNT/test.sh +++ b/test/TEST-03-USR-MOUNT/test.sh @@ -64,8 +64,7 @@ test_setup() { mv "$TESTDIR"/overlay/tmp/dracut.*/initramfs/* "$initdir" && rm -rf "$TESTDIR"/overlay/tmp - inst_multiple sh df free ls cat ps \ - dmesg cp umount strace less setsid sync grep df + inst_multiple sh dmesg umount strace setsid sync inst_simple ./fstab /etc/fstab find_binary plymouth > /dev/null && inst_multiple plymouth