diff options
Diffstat (limited to 'test/TEST-01-BASIC/test.sh')
-rwxr-xr-x | test/TEST-01-BASIC/test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 72dbec8f..ca7a1fe1 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -26,7 +26,7 @@ test_setup() { ( initdir=$TESTDIR/overlay/source mkdir -p $initdir - . $basedir/dracut-functions + . $basedir/dracut-functions.sh dracut_install sh df free ls shutdown poweroff stty cat ps ln ip route \ mount dmesg ifconfig dhclient mkdir cp ping dhclient \ umount strace less @@ -37,7 +37,7 @@ test_setup() { inst "$basedir/modules.d/40network/dhclient-script" "/sbin/dhclient-script" inst "$basedir/modules.d/40network/ifup" "/sbin/ifup" dracut_install grep - inst ./test-init /sbin/init + inst ./test-init.sh /sbin/init find_binary plymouth >/dev/null && dracut_install plymouth (cd "$initdir"; mkdir -p dev sys proc etc var/run tmp ) cp -a /etc/ld.so.conf* $initdir/etc @@ -47,7 +47,7 @@ test_setup() { # second, install the files needed to make the root filesystem ( initdir=$TESTDIR/overlay - . $basedir/dracut-functions + . $basedir/dracut-functions.sh dracut_install sfdisk mkfs.ext3 poweroff cp umount inst_hook initqueue 01 ./create-root.sh inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules @@ -56,7 +56,7 @@ test_setup() { # create an initramfs that will create the target root filesystem. # We do it this way so that we do not risk trashing the host mdraid # devices, volume groups, encrypted partitions, etc. - $basedir/dracut -l -i $TESTDIR/overlay / \ + $basedir/dracut.sh -l -i $TESTDIR/overlay / \ -m "dash udev-rules base rootfs-block kernel-modules" \ -d "piix ide-gd_mod ata_piix ext3 sd_mod" \ --nomdadmconf \ @@ -75,12 +75,12 @@ test_setup() { ( initdir=$TESTDIR/overlay - . $basedir/dracut-functions + . $basedir/dracut-functions.sh dracut_install poweroff shutdown inst_hook emergency 000 ./hard-off.sh inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules ) - sudo $basedir/dracut -l -i $TESTDIR/overlay / \ + sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \ -a "debug" \ -d "piix ide-gd_mod ata_piix ext3 sd_mod" \ -f $TESTDIR/initramfs.testing $KVERSION || return 1 |