SVN: geninitrd/trunk/tests/initramfs_switchroot.sh
glen
glen at pld-linux.org
Fri Mar 30 16:13:50 CEST 2012
Author: glen
Date: Fri Mar 30 16:13:50 2012
New Revision: 12527
Modified:
geninitrd/trunk/tests/initramfs_switchroot.sh
Log:
fill all expected tests
Modified: geninitrd/trunk/tests/initramfs_switchroot.sh
==============================================================================
--- geninitrd/trunk/tests/initramfs_switchroot.sh (original)
+++ geninitrd/trunk/tests/initramfs_switchroot.sh Fri Mar 30 16:13:50 2012
@@ -62,12 +62,28 @@
# echo "init=$init"
}
-#ROOT=/dev/sda2
-#runtest <<'EOF'
-#mount -t -r /dev/sda2 /newroot
-#EOF
+# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
+ROOT=hda3
+runtest <<'EOF'
+mount -t -r /dev/hda3 /newroot
+EOF
+
+ROOT=/dev/hda3
+runtest <<'EOF'
+mount -t -r /dev/hda3 /newroot
+EOF
+
+ROOT=0303
+runtest <<'EOF'
+mount -t -r /dev/sda3 /newroot
+EOF
+
+ROOT=0x0303
+runtest <<'EOF'
+mount -t -r /dev/sda3 /newroot
+EOF
-ROOT=302
+ROOT=303
runtest <<'EOF'
-mount -t -r /dev/sda2 /newroot
+mount -t -r /dev/sda3 /newroot
EOF
More information about the pld-cvs-commit
mailing list