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
e5779901
Commit
e5779901
authored
Dec 01, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a test failure on Win9x.
parent
4eec1ad4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
shlfileop.c
dlls/shell32/tests/shlfileop.c
+4
-1
No files found.
dlls/shell32/tests/shlfileop.c
View file @
e5779901
...
@@ -650,9 +650,12 @@ static void test_rename(void)
...
@@ -650,9 +650,12 @@ static void test_rename(void)
shfo
.
pFrom
=
"test1.txt
\0
test2.txt
\0
"
;
shfo
.
pFrom
=
"test1.txt
\0
test2.txt
\0
"
;
shfo
.
pTo
=
"a.txt
\0
"
;
shfo
.
pTo
=
"a.txt
\0
"
;
retval
=
SHFileOperationA
(
&
shfo
);
retval
=
SHFileOperationA
(
&
shfo
);
ok
(
retval
==
ERROR_GEN_FAILURE
,
"Expected ERROR_GEN_FAILURE, got %d
\n
"
,
retval
);
ok
(
retval
==
ERROR_GEN_FAILURE
||
broken
(
!
retval
),
/* Win9x */
"Expected ERROR_GEN_FAILURE, got %d
\n
"
,
retval
);
ok
(
file_exists
(
"test1.txt"
),
"Expected test1.txt to exist
\n
"
);
ok
(
file_exists
(
"test1.txt"
),
"Expected test1.txt to exist
\n
"
);
ok
(
file_exists
(
"test2.txt"
),
"Expected test2.txt to exist
\n
"
);
ok
(
file_exists
(
"test2.txt"
),
"Expected test2.txt to exist
\n
"
);
ok
(
!
file_exists
(
"a.txt"
),
"Expected a.txt to not exist
\n
"
);
/* pFrom doesn't exist */
/* pFrom doesn't exist */
shfo
.
pFrom
=
"idontexist
\0
"
;
shfo
.
pFrom
=
"idontexist
\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