Integration test: Boot from bzimage
This commit is contained in:
parent
028e131ddb
commit
ae4733a25e
|
@ -216,6 +216,18 @@ if(cluster.isMaster)
|
||||||
],
|
],
|
||||||
expect_mouse_registered: true,
|
expect_mouse_registered: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Linux 4 bzImage",
|
||||||
|
skip_if_disk_image_missing: true,
|
||||||
|
bzimage: root_path + "/images/bzImage",
|
||||||
|
cmdline: "auto",
|
||||||
|
timeout: 200,
|
||||||
|
expected_texts: [
|
||||||
|
"~%",
|
||||||
|
"Files send via emulator appear in",
|
||||||
|
],
|
||||||
|
expect_mouse_registered: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "OpenBSD",
|
name: "OpenBSD",
|
||||||
fda: root_path + "/images/openbsd.img",
|
fda: root_path + "/images/openbsd.img",
|
||||||
|
@ -449,7 +461,7 @@ function run_test(test, done)
|
||||||
{
|
{
|
||||||
console.log("Starting test: %s", test.name);
|
console.log("Starting test: %s", test.name);
|
||||||
|
|
||||||
let image = test.fda || test.hda || test.cdrom;
|
let image = test.fda || test.hda || test.cdrom || test.bzimage;
|
||||||
console.assert(image, "Bootable drive expected");
|
console.assert(image, "Bootable drive expected");
|
||||||
|
|
||||||
if(!fs.existsSync(image))
|
if(!fs.existsSync(image))
|
||||||
|
@ -508,6 +520,11 @@ function run_test(test, done)
|
||||||
{
|
{
|
||||||
settings.hda = { url: test.hda, async: true, };
|
settings.hda = { url: test.hda, async: true, };
|
||||||
}
|
}
|
||||||
|
if(test.bzimage)
|
||||||
|
{
|
||||||
|
settings.bzimage = { url: test.bzimage, async: true, };
|
||||||
|
}
|
||||||
|
settings.cmdline = test.cmdline;
|
||||||
|
|
||||||
if(test.expected_texts)
|
if(test.expected_texts)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue