Paul Vriens : ntdll/tests: Skip test when we don't have enough rights.
Alexandre Julliard
julliard at winehq.org
Mon May 19 09:39:57 CDT 2008
Module: wine
Branch: master
Commit: b65c1d47eb4888a0d8caf850fafda8c94ccaf173
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b65c1d47eb4888a0d8caf850fafda8c94ccaf173
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Mon May 19 14:01:26 2008 +0200
ntdll/tests: Skip test when we don't have enough rights.
---
dlls/ntdll/tests/port.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c
index a4d3348..f30cdc8 100644
--- a/dlls/ntdll/tests/port.c
+++ b/dlls/ntdll/tests/port.c
@@ -245,6 +245,11 @@ static void test_ports_server(void)
obj.ObjectName = &port;
status = pNtCreatePort(&PortHandle, &obj, 100, 100, 0);
+ if (status == STATUS_ACCESS_DENIED)
+ {
+ skip("Not enough rights\n");
+ return;
+ }
todo_wine
{
ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %d\n", status);
More information about the wine-cvs
mailing list