kernel32/tests: Don't wait for overlapped result if the previous test failed.
This commit is contained in:
parent
cd8332ae1c
commit
1f50b7f7eb
|
@ -457,9 +457,12 @@ static void test_readdirectorychanges(void)
|
|||
ok( ov.Internal == STATUS_SUCCESS, "ov.Internal wrong\n");
|
||||
ok( ov.InternalHigh == 0x12, "ov.InternalHigh wrong\n");
|
||||
|
||||
if (ov.Internal == STATUS_SUCCESS)
|
||||
{
|
||||
r = GetOverlappedResult( hdir, &ov, &dwCount, TRUE );
|
||||
ok( r == TRUE, "getoverlappedresult failed\n");
|
||||
ok( dwCount == 0x12, "count wrong\n");
|
||||
}
|
||||
|
||||
pfni = (PFILE_NOTIFY_INFORMATION) buffer;
|
||||
ok( pfni->NextEntryOffset == 0, "offset wrong\n" );
|
||||
|
|
Loading…
Reference in New Issue