summaryrefslogtreecommitdiffstats
path: root/test/parser/003
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/003')
-rw-r--r--test/parser/003/expected-output9
-rw-r--r--test/parser/003/ps3da1/etc/kboot.conf4
2 files changed, 13 insertions, 0 deletions
diff --git a/test/parser/003/expected-output b/test/parser/003/expected-output
new file mode 100644
index 0000000..4f60310
--- /dev/null
+++ b/test/parser/003/expected-output
@@ -0,0 +1,9 @@
+[dev 0] id: /dev/ps3da1
+[dev 0] name: (null)
+[dev 0] description: (null)
+[dev 0] boot_image: /usr/share/petitboot/artwork/hdd.png
+[opt 0] name: test
+[opt 0] description: /dev/sda1:/vmlinux
+[opt 0] boot_image: devices/parser-tests/003/ps3da1/vmlinux
+[opt 0] initrd: (null)
+[opt 0] boot_args: (null)
diff --git a/test/parser/003/ps3da1/etc/kboot.conf b/test/parser/003/ps3da1/etc/kboot.conf
new file mode 100644
index 0000000..a7bb199
--- /dev/null
+++ b/test/parser/003/ps3da1/etc/kboot.conf
@@ -0,0 +1,4 @@
+# test remapping sda to ps3da, when mounted from a ps3da device
+
+test='/dev/sda1:/vmlinux'
+
OpenPOWER on IntegriCloud