osxml: Ensure kernel/initrd/dtb are absolute paths

This commit is contained in:
Cole Robinson
2014-09-23 14:25:14 -04:00
parent 4c4bdbb8b8
commit 86417d42ca
13 changed files with 31 additions and 26 deletions

View File

@@ -266,8 +266,8 @@ class XMLParseTest(unittest.TestCase):
check = self._make_checker(guest.os)
check("bootorder", ['hd', 'fd', 'cdrom', 'network'], ["cdrom"])
check("enable_bootmenu", False, True)
check("kernel", None, "foo.img")
check("initrd", None, "bar.img")
check("kernel", None, "/foo.img")
check("initrd", None, "/bar.img")
check("dtb", None, "/baz.dtb")
check("kernel_args", None, "ks=foo.ks")