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
63d77d07
Commit
63d77d07
authored
Oct 07, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Skip some resource tests on Win7.
parent
bc6f37ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
resource.c
dlls/kernel32/tests/resource.c
+12
-7
No files found.
dlls/kernel32/tests/resource.c
View file @
63d77d07
...
...
@@ -125,16 +125,21 @@ static void update_empty_exe( void )
CloseHandle
(
file
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
if
(
res
!=
NULL
||
GetLastError
()
!=
ERROR_FILE_INVALID
)
{
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
/* check if it's possible to open the file now */
test
=
CreateFile
(
filename
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
ok
(
test
!=
INVALID_HANDLE_VALUE
,
"failed to create file
\n
"
);
/* check if it's possible to open the file now */
test
=
CreateFile
(
filename
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
ok
(
test
!=
INVALID_HANDLE_VALUE
,
"failed to create file
\n
"
);
CloseHandle
(
test
);
CloseHandle
(
test
);
r
=
EndUpdateResource
(
res
,
FALSE
);
ok
(
r
==
FALSE
,
"EndUpdateResource failed
\n
"
);
r
=
EndUpdateResource
(
res
,
FALSE
);
ok
(
r
==
FALSE
,
"EndUpdateResource failed
\n
"
);
}
else
skip
(
"Can't update resource in empty file
\n
"
);
res
=
BeginUpdateResource
(
filename
,
FALSE
);
ok
(
res
==
NULL
,
"BeginUpdateResource failed
\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