Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
95af1823
Commit
95af1823
authored
Aug 16, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Aug 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Skip a test when not properly logged in on win9x.
parent
36e416b6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
security.c
dlls/advapi32/tests/security.c
+8
-1
No files found.
dlls/advapi32/tests/security.c
View file @
95af1823
...
...
@@ -1302,8 +1302,15 @@ static void test_LookupAccountName(void)
*/
user_size
=
UNLEN
+
1
;
SetLastError
(
0xdeadbeef
);
ret
=
GetUserNameA
(
user_name
,
&
user_size
);
ok
(
ret
,
"Failed to get user name
\n
"
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_NOT_LOGGED_ON
))
{
/* Probably on win9x where the user used 'Cancel' instead of properly logging in */
skip
(
"Cannot get the user name (win9x and not logged in properly)
\n
"
);
return
;
}
ok
(
ret
,
"Failed to get user name : %d
\n
"
,
GetLastError
());
/* get sizes */
sid_size
=
0
;
...
...
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