Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
675799da
Commit
675799da
authored
Aug 28, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Aug 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32/tests: Add acceptable error codes for Win7.
parent
167ef047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
access.c
dlls/netapi32/tests/access.c
+3
-3
No files found.
dlls/netapi32/tests/access.c
View file @
675799da
...
...
@@ -155,16 +155,16 @@ static void run_usergetinfo_tests(void)
todo_wine
{
/* FIXME - Currently Wine can't verify whether the network path is good or bad */
rc
=
pNetUserGetInfo
(
sBadNetPath
,
sTestUserName
,
0
,
(
LPBYTE
*
)
&
ui0
);
ok
(
rc
==
ERROR_BAD_NETPATH
||
rc
==
ERROR_NETWORK_UNREACHABLE
,
ok
(
rc
==
ERROR_BAD_NETPATH
||
rc
==
ERROR_NETWORK_UNREACHABLE
||
rc
==
RPC_S_SERVER_UNAVAILABLE
,
"Bad Network Path: rc=%d
\n
"
,
rc
);
}
rc
=
pNetUserGetInfo
(
sEmptyStr
,
sTestUserName
,
0
,
(
LPBYTE
*
)
&
ui0
);
ok
(
rc
==
ERROR_BAD_NETPATH
||
rc
==
NERR_Success
,
"Bad Network Path: rc=%d
\n
"
,
rc
);
rc
=
pNetUserGetInfo
(
sInvalidName
,
sTestUserName
,
0
,
(
LPBYTE
*
)
&
ui0
);
ok
(
rc
==
ERROR_INVALID_NAME
,
"Invalid Server Name: rc=%d
\n
"
,
rc
);
ok
(
rc
==
ERROR_INVALID_NAME
||
rc
==
ERROR_INVALID_HANDLE
,
"Invalid Server Name: rc=%d
\n
"
,
rc
);
rc
=
pNetUserGetInfo
(
sInvalidName2
,
sTestUserName
,
0
,
(
LPBYTE
*
)
&
ui0
);
ok
(
rc
==
ERROR_INVALID_NAME
,
"Invalid Server Name: rc=%d
\n
"
,
rc
);
ok
(
rc
==
ERROR_INVALID_NAME
||
rc
==
ERROR_INVALID_HANDLE
,
"Invalid Server Name: rc=%d
\n
"
,
rc
);
if
(
delete_test_user
()
!=
NERR_Success
)
trace
(
"Deleting the test user failed. You might have to manually delete it.
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment