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
773c46b9
Commit
773c46b9
authored
Jan 31, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psapi/tests: Don't check data returned from a failing call.
parent
bdf75783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
psapi_main.c
dlls/psapi/tests/psapi_main.c
+13
-10
No files found.
dlls/psapi/tests/psapi_main.c
View file @
773c46b9
...
...
@@ -203,17 +203,20 @@ todo_wine
todo_wine
ok
(
ret
||
broken
(
GetLastError
()
==
ERROR_UNEXP_NET_ERR
),
/* win2k */
"GetMappedFileNameA failed with error %u
\n
"
,
GetLastError
()
);
ok
(
ret
==
strlen
(
szMapPath
),
"szMapPath=
\"
%s
\"
ret=%d
\n
"
,
szMapPath
,
ret
);
todo_wine
ok
(
szMapPath
[
0
]
==
'\\'
,
"szMapPath=
\"
%s
\"\n
"
,
szMapPath
);
szMapBaseName
=
strrchr
(
szMapPath
,
'\\'
);
/* That's close enough for us */
todo_wine
ok
(
szMapBaseName
&&
*
szMapBaseName
,
"szMapPath=
\"
%s
\"\n
"
,
szMapPath
);
if
(
szMapBaseName
)
if
(
ret
)
{
GetModuleFileNameA
(
NULL
,
szModPath
,
sizeof
(
szModPath
));
ok
(
!
strcmp
(
strrchr
(
szModPath
,
'\\'
),
szMapBaseName
),
"szModPath=
\"
%s
\"
szMapBaseName=
\"
%s
\"\n
"
,
szModPath
,
szMapBaseName
);
ok
(
ret
==
strlen
(
szMapPath
),
"szMapPath=
\"
%s
\"
ret=%d
\n
"
,
szMapPath
,
ret
);
todo_wine
ok
(
szMapPath
[
0
]
==
'\\'
,
"szMapPath=
\"
%s
\"\n
"
,
szMapPath
);
szMapBaseName
=
strrchr
(
szMapPath
,
'\\'
);
/* That's close enough for us */
todo_wine
ok
(
szMapBaseName
&&
*
szMapBaseName
,
"szMapPath=
\"
%s
\"\n
"
,
szMapPath
);
if
(
szMapBaseName
)
{
GetModuleFileNameA
(
NULL
,
szModPath
,
sizeof
(
szModPath
));
ok
(
!
strcmp
(
strrchr
(
szModPath
,
'\\'
),
szMapBaseName
),
"szModPath=
\"
%s
\"
szMapBaseName=
\"
%s
\"\n
"
,
szModPath
,
szMapBaseName
);
}
}
GetTempPath
(
MAX_PATH
,
temp_path
);
...
...
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