Make tests a bit more robust
This commit is contained in:
parent
ad4c2b72ff
commit
7d627ac13a
|
@ -54,7 +54,7 @@ function run_test(name, config, done)
|
|||
}, 1000);
|
||||
}, 1000);
|
||||
});
|
||||
}, 1000);
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
run_test("async cdrom", config_async_cdrom, function()
|
||||
|
|
|
@ -45,7 +45,7 @@ qemu.stdout.on("data", data => {
|
|||
qemu.stdin.write("echo test fini''shed\n");
|
||||
}
|
||||
|
||||
if(ran_command && !finished && qemu_output.includes("test finished\n"))
|
||||
if(ran_command && !finished && qemu_output.includes("test finished"))
|
||||
{
|
||||
const result_file = path.join(share_dir_9p, "result");
|
||||
|
||||
|
|
Loading…
Reference in a new issue