Commit a9513cf4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

cmd/tests: Fix handling of synchronization line mismatches.

If the synchronization line does not match assume that we skipped some tests. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent cd50e151
......@@ -320,7 +320,8 @@ static void test_output(const char *out_data, DWORD out_size, const char *exp_da
/* If we rewind to the beginning of the line, don't increment line number */
line--;
}
else if (!is_exp_resync || !err)
else if (!is_exp_resync || !err ||
(is_exp_resync && is_out_resync && err))
{
exp_ptr = exp_nl+1;
if(exp_nl+1 < exp_data+exp_size && exp_nl[0] == '\r' && exp_nl[1] == '\n')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment