Paul Vriens : ntdll/tests: Fix a test failure on NT4.
Alexandre Julliard
julliard at winehq.org
Mon Jan 11 15:59:34 CST 2010
Module: wine
Branch: master
Commit: acfada959bcca92eb59ddb3d98bf48c41a0dd777
URL: http://source.winehq.org/git/wine.git/?a=commit;h=acfada959bcca92eb59ddb3d98bf48c41a0dd777
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Jan 8 22:29:20 2010 +0100
ntdll/tests: Fix a test failure on NT4.
---
dlls/ntdll/tests/om.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c
index 1bab21d..d052c35 100644
--- a/dlls/ntdll/tests/om.c
+++ b/dlls/ntdll/tests/om.c
@@ -677,7 +677,9 @@ static void test_query_object(void)
ok( status == STATUS_SUCCESS, "NtQueryObject failed %x\n", status );
ok( len > sizeof(UNICODE_STRING), "unexpected len %u\n", len );
str = (UNICODE_STRING *)buffer;
- ok( sizeof(UNICODE_STRING) + str->Length + sizeof(WCHAR) == len, "unexpected len %u\n", len );
+ ok( sizeof(UNICODE_STRING) + str->Length + sizeof(WCHAR) == len ||
+ broken(sizeof(UNICODE_STRING) + str->Length == len), /* NT4 */
+ "unexpected len %u\n", len );
trace( "got %s len %u\n", wine_dbgstr_w(str->Buffer), len );
pNtClose( handle );
}
More information about the wine-cvs
mailing list