Nikolay Sivov : advapi32/tests: Add some more well known SIDs to tests.
Alexandre Julliard
julliard at winehq.org
Mon Jul 23 13:54:23 CDT 2012
Module: wine
Branch: master
Commit: a56f3c665e436f5faf819a7146da419efe309858
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a56f3c665e436f5faf819a7146da419efe309858
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun Jul 22 20:13:14 2012 +0400
advapi32/tests: Add some more well known SIDs to tests.
---
dlls/advapi32/tests/security.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index 3fc9930..28e43ec 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -1655,7 +1655,8 @@ static const struct well_known_sid_value
/* 66 */ {TRUE, "S-1-16-4096"}, {TRUE, "S-1-16-8192"}, {TRUE, "S-1-16-12288"},
/* 69 */ {TRUE, "S-1-16-16384"}, {TRUE, "S-1-5-33"}, {TRUE, "S-1-3-4"},
/* 72 */ {FALSE, "S-1-5-21-12-23-34-45-56-571"}, {FALSE, "S-1-5-21-12-23-34-45-56-572"},
-/* 74 */ {TRUE, "S-1-5-22"}, {FALSE, "S-1-5-21-12-23-34-45-56-521"}, {TRUE, "S-1-5-32-573"}
+/* 74 */ {TRUE, "S-1-5-22"}, {FALSE, "S-1-5-21-12-23-34-45-56-521"}, {TRUE, "S-1-5-32-573"},
+/* 77 */ {FALSE, "S-1-5-21-12-23-34-45-56-498"}, {TRUE, "S-1-5-32-574"}, {TRUE, "S-1-16-8448"}
};
static void test_CreateWellKnownSid(void)
@@ -1720,7 +1721,7 @@ static void test_CreateWellKnownSid(void)
expect_eq(GetSidLengthRequired(*GetSidSubAuthorityCount(sid_buffer)), cb, DWORD, "%d");
ok(IsValidSid(sid_buffer), "The sid is not valid\n");
ok(pConvertSidToStringSidA(sid_buffer, &str), "Couldn't convert SID to string\n");
- ok(strcmp(str, value->sid_string) == 0, "SID mismatch - expected %s, got %s\n",
+ ok(strcmp(str, value->sid_string) == 0, "%d: SID mismatch - expected %s, got %s\n", i,
value->sid_string, str);
LocalFree(str);
More information about the wine-cvs
mailing list