From: Laszlo Gombos Date: Wed, 19 Oct 2022 02:07:56 +0000 (+0000) Subject: test: move more execution to dracut command line X-Git-Tag: 058~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f26275b97481f1914f0484738a21f6b9c409018e;p=thirdparty%2Fdracut.git test: move more execution to dracut command line --- diff --git a/test/TEST-03-USR-MOUNT/test.sh b/test/TEST-03-USR-MOUNT/test.sh index 754b9142f..d892c2ddd 100755 --- a/test/TEST-03-USR-MOUNT/test.sh +++ b/test/TEST-03-USR-MOUNT/test.sh @@ -56,6 +56,7 @@ test_setup() { "$basedir"/dracut.sh -l --keep --tmpdir "$TESTDIR"/overlay/tmp \ -m "test-root" \ -i ./test-init.sh /sbin/init \ + -i ./fstab /etc/fstab \ -i "${basedir}/modules.d/99base/dracut-lib.sh" "/lib/dracut-lib.sh" \ -i "${basedir}/modules.d/99base/dracut-dev-lib.sh" "/lib/dracut-dev-lib.sh" \ --no-hostonly --no-hostonly-cmdline --nomdadmconf --nohardlink \ @@ -64,8 +65,6 @@ test_setup() { mv "$TESTDIR"/overlay/tmp/dracut.*/initramfs/* "$initdir" && rm -rf "$TESTDIR"/overlay/tmp inst_multiple sh dmesg umount strace setsid sync - - inst_simple ./fstab /etc/fstab ) # second, install the files needed to make the root filesystem