]> xenbits.xensource.com Git - xen.git/commit
automation: wait for the login prompt as test end marker
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Wed, 26 Apr 2023 00:16:14 +0000 (02:16 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Apr 2023 20:48:12 +0000 (21:48 +0100)
commit937e73feca9abaea06ec496cd93f8da8bd3b70bf
tree1c8b7c6a3fd141f1fb4b022ba2b891f8355faa35
parentac58d7fda63fecc6fae24f7824dbe033d001833e
automation: wait for the login prompt as test end marker

The login prompt is printed after all the startup (test) scripts, wait
for that instead of "passed" marker. And only then check if test passed.
Before this patch there was a race: "passed" marker could be already
printed, but the final check would fail because login prompt wasn't
there yet.

Also, modify etc/issue in domU rootfs to avoid confusing the one from
domU with the dom0's one. Use the dom0 one as test end marker.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
automation/scripts/qubes-x86-64.sh