summaryrefslogtreecommitdiffstats
path: root/test/parser/002
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/002')
-rw-r--r--test/parser/002/expected-output9
-rw-r--r--test/parser/002/ps3da1/etc/yaboot.conf8
2 files changed, 17 insertions, 0 deletions
diff --git a/test/parser/002/expected-output b/test/parser/002/expected-output
new file mode 100644
index 0000000..304f15c
--- /dev/null
+++ b/test/parser/002/expected-output
@@ -0,0 +1,9 @@
+[dev 0] id: /dev/ps3da1
+[dev 0] name: (null)
+[dev 0] description:
+[dev 0] boot_image: /usr/share/petitboot/artwork/hdd.png
+[opt 0] name: linux
+[opt 0] description: (null)
+[opt 0] boot_image: devices/parser-tests/002/ps3da1/ppc/ppc64/vmlinux
+[opt 0] initrd: devices/parser-tests/002/ps3da1/ppc/ppc64/ramdisk.image.gz
+[opt 0] boot_args: ro
diff --git a/test/parser/002/ps3da1/etc/yaboot.conf b/test/parser/002/ps3da1/etc/yaboot.conf
new file mode 100644
index 0000000..f13b1b3
--- /dev/null
+++ b/test/parser/002/ps3da1/etc/yaboot.conf
@@ -0,0 +1,8 @@
+init-message = "\nWelcome to the 64-bit Yellow Dog Linux 5.0 installer!\nHit <TAB> for boot options.\n\n"
+timeout=6000
+default=linux
+
+image=/ppc/ppc64/vmlinux
+ label=linux
+ initrd=/ppc/ppc64/ramdisk.image.gz
+ read-only
OpenPOWER on IntegriCloud