Austin English : advapi32/tests: Make sure to use return value (LLVM/Clang) .

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:34 CST 2011


Module: wine
Branch: master
Commit: 68e1d5d78e9f6d29588b1b307507f262cf821d19
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=68e1d5d78e9f6d29588b1b307507f262cf821d19

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 17:22:17 2011 -0800

advapi32/tests: Make sure to use return value (LLVM/Clang).

---

 dlls/advapi32/tests/security.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index e1f06c8..bfe9783 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -1817,6 +1817,7 @@ static void check_wellknown_name(const char* name, WELL_KNOWN_SID_TYPE result)
     sid_size = 0;
     domain_size = 0;
     ret = LookupAccountNameA(NULL, name, NULL, &sid_size, NULL, &domain_size, &sid_use);
+    ok(!ret, " %s Should have failed to lookup account name\n", name);
     psid = HeapAlloc(GetProcessHeap(),0,sid_size);
     domain = HeapAlloc(GetProcessHeap(),0,domain_size);
     ret = LookupAccountNameA(NULL, name, psid, &sid_size, domain, &domain_size, &sid_use);




More information about the wine-cvs mailing list