SVN: geninitrd/trunk/tests/initramfs_switchroot.sh
    glen 
    glen at pld-linux.org
       
    Mon Apr 16 10:54:13 CEST 2012
    
    
  
Author: glen
Date: Mon Apr 16 10:54:13 2012
New Revision: 12542
Modified:
   geninitrd/trunk/tests/initramfs_switchroot.sh
Log:
testcase for `root=0edc`
http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-April/155364.html
Modified: geninitrd/trunk/tests/initramfs_switchroot.sh
==============================================================================
--- geninitrd/trunk/tests/initramfs_switchroot.sh	(original)
+++ geninitrd/trunk/tests/initramfs_switchroot.sh	Mon Apr 16 10:54:13 2012
@@ -10,7 +10,7 @@
 }
 
 mknod() {
-	echo "mknod $@"
+	: echo "mknod $@"
 }
 
 	# parse 'root=xxx' kernel commandline
@@ -102,3 +102,9 @@
 runtest <<'EOF'
 mount -t xfs -r /dev/sda3 /newroot
 EOF
+
+# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
+ROOT=0edc
+runtest <<'EOF'
+mount -t xfs -r 0edc /newroot
+EOF
    
    
More information about the pld-cvs-commit
mailing list