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
e348c842
Commit
e348c842
authored
Jun 05, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix test failures on Win95.
parent
890b5daf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
shlexec.c
dlls/shell32/tests/shlexec.c
+6
-1
No files found.
dlls/shell32/tests/shlexec.c
View file @
e348c842
...
...
@@ -864,7 +864,8 @@ static void test_find_executable(void)
ok
(
rc
==
SE_ERR_NOASSOC
/* >= win2000 */
||
rc
>
32
/* win98, nt4 */
,
"FindExecutable(NULL) returned %ld
\n
"
,
rc
);
ok
(
strcmp
(
command
,
"your word"
)
!=
0
,
"FindExecutable(NULL) returned command=[%s]
\n
"
,
command
);
sprintf
(
filename
,
"%s
\\
test file.sfe"
,
tmpdir
);
/* Win95 can't cope with double backslashes in FindExecutableA (tmpdir has a trailing backslash) */
sprintf
(
filename
,
"%stest file.sfe"
,
tmpdir
);
rc
=
(
INT_PTR
)
FindExecutableA
(
filename
,
NULL
,
command
);
ok
(
rc
>
32
,
"FindExecutable(%s) returned %ld
\n
"
,
filename
,
rc
);
/* Depending on the platform, command could be '%1' or 'test file.sfe' */
...
...
@@ -910,6 +911,10 @@ static void test_find_executable(void)
test
=
filename_tests
;
while
(
test
->
basename
)
{
/* Win95 can't cope with double slashes/backslashes in FindExecutableA */
if
(
tmpdir
[
strlen
(
tmpdir
)
-
1
]
==
'\\'
)
tmpdir
[
strlen
(
tmpdir
)
-
1
]
=
0
;
sprintf
(
filename
,
test
->
basename
,
tmpdir
);
if
(
strchr
(
filename
,
'/'
))
{
...
...
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