Paul Gofman (@gofman) commented about dlls/ntdll/tests/sync.c:
{todo_wine_if(status == STATUS_TIMEOUT)ok( status == STATUS_USER_APC || status == STATUS_SUCCESS,"NtDelayExecution iteration %d with timeout returned %#lx\n",i, status );}- }
- ok( p->apc_count > 0, "no APCs were delivered\n" );
- ok( p->apc_count <= NUM_APCS, "got %ld APCs, expected at most %d\n",
p->apc_count, NUM_APCS );- return 0;
+}
+static DWORD expected_sleep_error = 0xdeadbeef;
A variable for this is not needed, we use just 0xdeadbeef directly universally in tests.