Test fix - new take. dlls_advapi32_tests_security_c_diff.txt
Jakob Eriksson
jakov at vmlinux.org
Mon Mar 21 07:11:00 CST 2005
I obviously suck at boolean logic. Here I try again.
Fix for NT4 behaviour, second try.
-------------- next part --------------
Index: dlls/advapi32/tests/security.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/security.c,v
retrieving revision 1.12
diff -u -r1.12 security.c
--- dlls/advapi32/tests/security.c 14 Mar 2005 17:20:58 -0000 1.12
+++ dlls/advapi32/tests/security.c 21 Mar 2005 13:06:06 -0000
@@ -289,7 +289,7 @@
luid.LowPart = i;
cchName = sizeof(buf);
ret = pLookupPrivilegeNameA(NULL, &luid, buf, &cchName);
- ok( ret && GetLastError() != ERROR_NO_SUCH_PRIVILEGE,
+ ok( ret || GetLastError() == ERROR_NO_SUCH_PRIVILEGE,
"LookupPrivilegeNameA(0.%ld) failed: %ld\n", i, GetLastError());
}
/* check a bogus LUID */
More information about the wine-patches
mailing list