Re: [PATCH v2 4/6] automation: wait for the login prompt as test end marker

2023-04-25 Thread Stefano Stabellini
On Wed, 26 Apr 2023, Marek Marczykowski-Górecki wrote: > 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

[PATCH v2 4/6] automation: wait for the login prompt as test end marker

2023-04-25 Thread Marek Marczykowski-Górecki
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,