Andrew Nguyen : ntdll/tests: Allow native crashing code to be compiled.
Alexandre Julliard
julliard at winehq.org
Thu Jan 14 11:33:36 CST 2010
Module: wine
Branch: master
Commit: d8ba75473a76184c9766eaf8da9be710b64be850
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d8ba75473a76184c9766eaf8da9be710b64be850
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Wed Jan 13 06:44:53 2010 -0600
ntdll/tests: Allow native crashing code to be compiled.
---
dlls/ntdll/tests/rtl.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 37479a7..6bc12bb 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -990,9 +990,12 @@ static void test_RtlAllocateAndInitializeSid(void)
ret = pRtlFreeSid(psid);
ok(!ret, "RtlFreeSid error %08x\n", ret);
- /* these tests crash on XP
- ret = pRtlAllocateAndInitializeSid(NULL, 0, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
- ret = pRtlAllocateAndInitializeSid(&sia, 0, 1, 2, 3, 4, 5, 6, 7, 8, NULL);*/
+ /* these tests crash on XP */
+ if (0)
+ {
+ ret = pRtlAllocateAndInitializeSid(NULL, 0, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
+ ret = pRtlAllocateAndInitializeSid(&sia, 0, 1, 2, 3, 4, 5, 6, 7, 8, NULL);
+ }
ret = pRtlAllocateAndInitializeSid(&sia, 9, 1, 2, 3, 4, 5, 6, 7, 8, &psid);
ok(ret == STATUS_INVALID_SID, "wrong error %08x\n", ret);
More information about the wine-cvs
mailing list