advapi32: print more info about failed test

Robert Reif reif at earthlink.net
Sat Jul 29 06:41:01 CDT 2006


-------------- next part --------------
diff -p -u -r1.32 security.c
--- dlls/advapi32/tests/security.c	21 Jul 2006 18:49:45 -0000	1.32
+++ dlls/advapi32/tests/security.c	29 Jul 2006 11:41:17 -0000
@@ -738,7 +738,7 @@ static void test_token_attr(void)
         Name[0] = '\0';
         Domain[0] = '\0';
         ret = LookupAccountSid(NULL, Groups->Groups[i].Sid, Name, &NameLength, Domain, &DomainLength, &SidNameUse);
-        ok(ret, "LookupAccountSid failed with error %ld\n", GetLastError());
+        ok(ret, "LookupAccountSid(%s) failed with error %ld\n", SidString, GetLastError());
         trace("\t%s, %s\\%s use: %d attr: 0x%08lx\n", SidString, Domain, Name, SidNameUse, Groups->Groups[i].Attributes);
         LocalFree(SidString);
     }


More information about the wine-patches mailing list