Skip to content
Snippets Groups Projects
Commit a9513cf4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard
Browse files

cmd/tests: Fix handling of synchronization line mismatches.


If the synchronization line does not match assume that we skipped some tests.

Signed-off-by: default avatarFrancois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent cd50e151
No related branches found
No related tags found
No related merge requests found
...@@ -320,7 +320,8 @@ static void test_output(const char *out_data, DWORD out_size, const char *exp_da ...@@ -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 */ /* If we rewind to the beginning of the line, don't increment line number */
line--; 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; exp_ptr = exp_nl+1;
if(exp_nl+1 < exp_data+exp_size && exp_nl[0] == '\r' && exp_nl[1] == '\n') if(exp_nl+1 < exp_data+exp_size && exp_nl[0] == '\r' && exp_nl[1] == '\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment