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
95ddcc3b
Commit
95ddcc3b
authored
Apr 02, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix some expected FindExecutable() error codes.
Add comments indicating which Windows version returns a given error code.
parent
0081b430
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shlexec.c
dlls/shell32/tests/shlexec.c
+3
-3
No files found.
dlls/shell32/tests/shlexec.c
View file @
95ddcc3b
...
...
@@ -697,12 +697,12 @@ static void test_find_executable(void)
strcpy
(
command
,
"your word"
);
rc
=
(
int
)
FindExecutableA
(
NULL
,
NULL
,
command
);
ok
(
rc
==
SE_ERR_FNF
||
rc
>
32
,
"FindExecutable(NULL) returned %d
\n
"
,
rc
);
ok
(
rc
==
SE_ERR_FNF
||
rc
>
32
/* nt4 */
,
"FindExecutable(NULL) returned %d
\n
"
,
rc
);
ok
(
strcmp
(
command
,
"your word"
)
!=
0
,
"FindExecutable(NULL) returned command=[%s]
\n
"
,
command
);
strcpy
(
command
,
"your word"
);
rc
=
(
int
)
FindExecutableA
(
tmpdir
,
NULL
,
command
);
todo_wine
ok
(
rc
==
SE_ERR_FNF
||
rc
>
32
,
"FindExecutable(NULL) returned %d
\n
"
,
rc
);
ok
(
rc
==
SE_ERR_NOASSOC
/* >= win2000 */
||
rc
>
32
/* win98, nt4 */
,
"FindExecutable(NULL) returned %d
\n
"
,
rc
);
ok
(
strcmp
(
command
,
"your word"
)
!=
0
,
"FindExecutable(NULL) returned command=[%s]
\n
"
,
command
);
sprintf
(
filename
,
"%s
\\
test file.sfe"
,
tmpdir
);
...
...
@@ -723,7 +723,7 @@ static void test_find_executable(void)
sprintf
(
filename
,
"%s
\\
test file.shl"
,
tmpdir
);
rc
=
(
int
)
FindExecutableA
(
filename
,
NULL
,
command
);
ok
(
rc
>
32
,
"FindExecutable(%s) returned %d
\n
"
,
filename
,
rc
);
ok
(
rc
==
SE_ERR_FNF
/* NT4 */
||
rc
>
32
,
"FindExecutable(%s) returned %d
\n
"
,
filename
,
rc
);
sprintf
(
filename
,
"%s
\\
test file.shlfoo"
,
tmpdir
);
rc
=
(
int
)
FindExecutableA
(
filename
,
NULL
,
command
);
...
...
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