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
025a39e2
Commit
025a39e2
authored
Oct 09, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a failure on NT4.
parent
6d15749d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shelllink.c
dlls/shell32/tests/shelllink.c
+4
-2
No files found.
dlls/shell32/tests/shelllink.c
View file @
025a39e2
...
...
@@ -217,13 +217,15 @@ static void test_get_set(void)
}
/* test path with quotes (
Win98 IShellLinkA_SetPath returns S_FALSE, WinXP returns S_OK)
*/
/* test path with quotes (
IShellLinkA_SetPath returns S_FALSE on W2K and below and S_OK on XP and above
*/
r
=
IShellLinkA_SetPath
(
sl
,
"
\"
c:
\\
nonexistent
\\
file
\"
"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
,
"SetPath failed (0x%08x)
\n
"
,
r
);
r
=
IShellLinkA_GetPath
(
sl
,
buffer
,
sizeof
(
buffer
),
NULL
,
SLGP_RAWPATH
);
ok
(
r
==
S_OK
,
"GetPath failed (0x%08x)
\n
"
,
r
);
ok
(
!
lstrcmp
(
buffer
,
"C:
\\
nonexistent
\\
file"
),
"case doesn't match
\n
"
);
ok
(
!
lstrcmp
(
buffer
,
"C:
\\
nonexistent
\\
file"
)
||
broken
(
!
lstrcmp
(
buffer
,
"C:
\\\"
c:
\\
nonexistent
\\
file
\"
"
)),
/* NT4 */
"case doesn't match
\n
"
);
r
=
IShellLinkA_SetPath
(
sl
,
"
\"
c:
\\
foo"
);
ok
(
r
==
S_FALSE
||
r
==
S_OK
||
r
==
E_INVALIDARG
/* Vista */
,
"SetPath failed (0x%08x)
\n
"
,
r
);
...
...
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