From: Victor Lowther Date: Fri, 20 Mar 2009 08:34:30 +0000 (-0500) Subject: Minor updates to the testing framework X-Git-Tag: 0.1~282^2~12^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92391334866747f09330103967157996d5f2effa;p=thirdparty%2Fdracut.git Minor updates to the testing framework --- diff --git a/test/make-test-root b/test/make-test-root index f310d5f68..6b6ea8178 100755 --- a/test/make-test-root +++ b/test/make-test-root @@ -12,7 +12,7 @@ targetfs="$initdir" unset initdir dd if=/dev/zero of=test/root.ext2 bs=1M count=20 ./dracut -l -i "$targetfs" /source \ - -m "dash kernel-modules test crypt lvm udev-rules base" \ + -m "dash kernel-modules test crypt lvm udev-rules base rootfs-block" \ -d "ata_piix ext2 sd_mod" \ -f test/initramfs.makeroot diff --git a/test/test-init b/test/test-init index 63fde1eca..67563f84f 100755 --- a/test/test-init +++ b/test/test-init @@ -1,8 +1,8 @@ #!/bin/sh exec >/dev/console 2>&1 export TERM=linux -ln -s /proc/mounts /etc/mtab -export PS1='initramfs-test:\w\$' +export PS1='initramfs-test:\w\$ ' +ln -s /proc/mounts /etc/fstab stty sane echo "made it to the rootfs!" echo 3 >/proc/sys/vm/drop_caches