Commit a5ec8bf8 authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Avoid a race with the get/set window text threads.

parent 4e87b952
......@@ -5794,7 +5794,7 @@ static void test_gettext(void)
num_msgs++;
}
CloseHandle( thread );
ok( num_msgs == 1, "got %u wakeups from MsgWaitForMultipleObjects\n", num_msgs );
ok( num_msgs >= 1, "got %u wakeups from MsgWaitForMultipleObjects\n", num_msgs );
/* test interthread SetWindowText */
num_msgs = 0;
......@@ -5807,7 +5807,7 @@ static void test_gettext(void)
num_msgs++;
}
CloseHandle( thread );
ok( num_msgs == 1, "got %u wakeups from MsgWaitForMultipleObjects\n", num_msgs );
ok( num_msgs >= 1, "got %u wakeups from MsgWaitForMultipleObjects\n", num_msgs );
num_gettext_msgs = 0;
memset( buf, 0, sizeof(buf) );
......
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