=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: advapi32/tests: Use todo_wine_if() in tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 16 09:54:59 CST 2016
Module: wine
Branch: master
Commit: 4684dc2bfbf739ceae27694a4cefcdcbe6f33560
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4684dc2bfbf739ceae27694a4cefcdcbe6f33560
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Feb 15 23:14:46 2016 +0100
advapi32/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/advapi32/tests/security.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index 742ede1..881b3ec 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -5210,11 +5210,8 @@ static void test_named_pipe_security(HANDLE token)
ok(ret, "DuplicateHandle error %d\n", GetLastError());
access = get_obj_access(dup);
- if (map[i].todo)
-todo_wine
- ok(access == map[i].mapped, "%d: expected %#x, got %#x\n", i, map[i].mapped, access);
- else
- ok(access == map[i].mapped, "%d: expected %#x, got %#x\n", i, map[i].mapped, access);
+ todo_wine_if (map[i].todo)
+ ok(access == map[i].mapped, "%d: expected %#x, got %#x\n", i, map[i].mapped, access);
CloseHandle(dup);
}
More information about the wine-cvs
mailing list