From 92391334866747f09330103967157996d5f2effa Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Fri, 20 Mar 2009 03:34:30 -0500 Subject: [PATCH] Minor updates to the testing framework --- test/make-test-root | 2 +- test/test-init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/make-test-root b/test/make-test-root index f310d5f6..6b6ea817 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 63fde1ec..67563f84 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