diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-03-25 12:36:00 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-03-30 20:20:17 +1100 |
commit | 094d0fdd3a62dd8c5f5e79a856385466d93ddc3a (patch) | |
tree | f2d67fed27b8a3b02bea8ad57475e0a9c3d71202 /test | |
parent | fe7bfb4f2fa5b582be94409473130674b7d8687f (diff) | |
download | petitboot-094d0fdd3a62dd8c5f5e79a856385466d93ddc3a.zip petitboot-094d0fdd3a62dd8c5f5e79a856385466d93ddc3a.tar.gz |
Add more yaboot parser tests
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/parser/201/ps3da1/etc/yaboot.conf | 27 | ||||
-rw-r--r-- | test/parser/202/ps3da1/etc/yaboot.conf | 22 | ||||
-rw-r--r-- | test/parser/203/ps3da1/etc/yaboot.conf | 25 | ||||
-rw-r--r-- | test/parser/204/ps3da1/etc/yaboot.conf | 10 |
4 files changed, 84 insertions, 0 deletions
diff --git a/test/parser/201/ps3da1/etc/yaboot.conf b/test/parser/201/ps3da1/etc/yaboot.conf new file mode 100644 index 0000000..8f44792 --- /dev/null +++ b/test/parser/201/ps3da1/etc/yaboot.conf @@ -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 index 0000000..56d7062 --- /dev/null +++ b/test/parser/202/ps3da1/etc/yaboot.conf @@ -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 index 0000000..57a2f0d --- /dev/null +++ b/test/parser/203/ps3da1/etc/yaboot.conf @@ -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 index 0000000..7537646 --- /dev/null +++ b/test/parser/204/ps3da1/etc/yaboot.conf @@ -0,0 +1,10 @@ + +image=111 + read-only + label=linux1 + label = linux2 + append="abc1" + append='abc2' + # read-only + # label=linux3 + # label = linux4 |