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
147464c0
Commit
147464c0
authored
Sep 11, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix two failing tests in win2k.
parent
852b3673
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
shlfileop.c
dlls/shell32/tests/shlfileop.c
+6
-2
No files found.
dlls/shell32/tests/shlfileop.c
View file @
147464c0
...
...
@@ -942,7 +942,9 @@ static void test_copy(void)
shfo
.
pTo
=
"two.txt
\0
"
;
shfo
.
fFlags
=
FOF_NOCONFIRMATION
|
FOF_SILENT
|
FOF_NOERRORUI
;
retval
=
SHFileOperation
(
&
shfo
);
ok
(
retval
==
1148
||
retval
==
1026
,
"Expected 1148 or 1026, got %d
\n
"
,
retval
);
ok
(
retval
==
1148
||
retval
==
1026
||
retval
==
ERROR_ACCESS_DENIED
,
/* win2k */
"Expected 1148, 1026 or ERROR_ACCESS_DENIED, got %d
\n
"
,
retval
);
ok
(
DeleteFileA
(
"one.txt"
),
"Expected file to exist
\n
"
);
ok
(
!
DeleteFileA
(
"two.txt"
),
"Expected file to not exist
\n
"
);
...
...
@@ -984,7 +986,9 @@ static void test_copy(void)
shfo
.
pTo
=
to
;
shfo
.
fFlags
=
FOF_NOCONFIRMATION
|
FOF_SILENT
|
FOF_NOERRORUI
;
retval
=
SHFileOperation
(
&
shfo
);
ok
(
retval
==
1148
||
retval
==
1026
,
"Expected 1148 or 1026, got %d
\n
"
,
retval
);
ok
(
retval
==
1148
||
retval
==
1026
||
retval
==
ERROR_ACCESS_DENIED
,
/* win2k */
"Expected 1148, 1026 or ERROR_ACCESS_DENIED, got %d
\n
"
,
retval
);
ok
(
DeleteFileA
(
"one.txt"
),
"Expected file to exist
\n
"
);
ok
(
!
DeleteFileA
(
"two.txt"
),
"Expected file to not exist
\n
"
);
...
...
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