Browse Source

Minor updates to the testing framework

master
Victor Lowther 16 years ago
parent
commit
9239133486
  1. 2
      test/make-test-root
  2. 4
      test/test-init

2
test/make-test-root

@ -12,7 +12,7 @@ targetfs="$initdir" @@ -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


4
test/test-init

@ -1,8 +1,8 @@ @@ -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

Loading…
Cancel
Save