]> git.ozlabs.org Git - petitboot/commitdiff
Add more yaboot parser tests
authorGeoff Levand <geoffrey.levand@am.sony.com>
Wed, 25 Mar 2009 12:36:00 +0000 (12:36 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 30 Mar 2009 09:20:17 +0000 (20:20 +1100)
Add yaboot.conf files from fedora, OpenSUSE, and a yaboot whitespace
and comment test.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/201/ps3da1/etc/yaboot.conf [new file with mode: 0644]
test/parser/202/ps3da1/etc/yaboot.conf [new file with mode: 0644]
test/parser/203/ps3da1/etc/yaboot.conf [new file with mode: 0644]
test/parser/204/ps3da1/etc/yaboot.conf [new file with mode: 0644]

diff --git a/test/parser/201/ps3da1/etc/yaboot.conf b/test/parser/201/ps3da1/etc/yaboot.conf
new file mode 100644 (file)
index 0000000..8f44792
--- /dev/null
@@ -0,0 +1,27 @@
+# yaboot.conf generated by anaconda
+
+boot=/dev/ps3da
+init-message="Welcome to Fedora!\nHit <TAB> for boot options"
+
+partition=1
+timeout=80
+install=/usr/lib/yaboot/yaboot
+enablecdboot
+enableofboot
+enablenetboot
+nonvram
+mntpoint=/boot/yaboot
+usemount
+
+image=/boot/vmlinuz-2.6.25-1.fc9.ppc64
+       label=2.6.25-1.fc9.pp
+       read-only
+       initrd=/boot/initrd-2.6.25-1.fc9.ppc64.img
+       append="root=UUID=0f1335f2-eaba-4495-8eee-29229bb8ba03"
+
+image=/boot/vmlinuz-2.6.25-0.234.rc9.git1.fc9.ppc64
+       label=linux
+       read-only
+       initrd=/boot/initrd-2.6.25-0.234.rc9.git1.fc9.ppc64.img
+       append="root=UUID=0f1335f2-eaba-4495-8eee-29229bb8ba03"
+
diff --git a/test/parser/202/ps3da1/etc/yaboot.conf b/test/parser/202/ps3da1/etc/yaboot.conf
new file mode 100644 (file)
index 0000000..56d7062
--- /dev/null
@@ -0,0 +1,22 @@
+# yaboot.conf generated by anaconda
+
+boot=/dev/ps3da
+init-message="Welcome to Fedora!\nHit <TAB> for boot options"
+
+partition=1
+timeout=80
+install=/usr/lib/yaboot/yaboot
+delay=5
+enablecdboot
+enableofboot
+enablenetboot
+nonvram
+mntpoint=/boot/yaboot
+usemount
+
+image=/boot/vmlinuz-2.6.27.5-117.fc10.ppc64
+        label=linux
+        read-only
+        initrd=/boot/initrd-2.6.27.5-117.fc10.ppc64.img
+        append="rhgb quiet root=UUID=ebb54ca2-aa3e-4f67-b1d4-184cdc5d0638"
+
diff --git a/test/parser/203/ps3da1/etc/yaboot.conf b/test/parser/203/ps3da1/etc/yaboot.conf
new file mode 100644 (file)
index 0000000..57a2f0d
--- /dev/null
@@ -0,0 +1,25 @@
+# from openSUSE
+
+message=yaboot.txt
+
+image[32bit]=inst32
+  label=install
+  append="quiet sysrq=1 insmod=sym53c8xx insmod=ipr            "
+image[32bit]=inst32
+  label=slp
+  append="quiet sysrq=1 install=slp           "
+image[32bit]=inst32
+  label=rescue
+  append="quiet sysrq=1 rescue=1              "
+
+
+image[64bit]=inst64
+  label=install
+  append="quiet sysrq=1 insmod=sym53c8xx insmod=ipr            "
+image[64bit]=inst64
+  label=slp
+  append="quiet sysrq=1 install=slp           "
+image[64bit]=inst64
+  label=rescue
+  append="quiet sysrq=1 rescue=1              "
+
diff --git a/test/parser/204/ps3da1/etc/yaboot.conf b/test/parser/204/ps3da1/etc/yaboot.conf
new file mode 100644 (file)
index 0000000..7537646
--- /dev/null
@@ -0,0 +1,10 @@
+
+image=111
+ read-only
+ label=linux1
+ label = linux2
+ append="abc1"
+ append='abc2'
+ # read-only
+ # label=linux3
+ # label = linux4