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
fbc9dc10
Commit
fbc9dc10
authored
Jul 16, 2008
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Run tests again on Win9x.
parent
c4ac69b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
main.c
programs/winetest/main.c
+16
-0
send.c
programs/winetest/send.c
+8
-0
No files found.
programs/winetest/main.c
View file @
fbc9dc10
...
...
@@ -346,6 +346,14 @@ get_subtests (const char *tempdir, struct wine_test *test, LPTSTR res_name)
subfile
=
CreateFileA
(
subname
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
|
FILE_SHARE_DELETE
,
&
sa
,
CREATE_ALWAYS
,
0
,
NULL
);
if
((
subfile
==
INVALID_HANDLE_VALUE
)
&&
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
))
{
/* FILE_SHARE_DELETE not supported on win9x */
subfile
=
CreateFileA
(
subname
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
&
sa
,
CREATE_ALWAYS
,
0
,
NULL
);
}
if
(
subfile
==
INVALID_HANDLE_VALUE
)
{
report
(
R_ERROR
,
"Can't open subtests output of %s: %u"
,
test
->
name
,
GetLastError
());
...
...
@@ -474,6 +482,14 @@ run_tests (char *logname)
logfile
=
CreateFileA
(
logname
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
|
FILE_SHARE_DELETE
,
&
sa
,
CREATE_ALWAYS
,
0
,
NULL
);
if
((
logfile
==
INVALID_HANDLE_VALUE
)
&&
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
))
{
/* FILE_SHARE_DELETE not supported on win9x */
logfile
=
CreateFileA
(
logname
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
&
sa
,
CREATE_ALWAYS
,
0
,
NULL
);
}
if
(
logfile
==
INVALID_HANDLE_VALUE
)
report
(
R_FATAL
,
"Could not open logfile: %u"
,
GetLastError
());
...
...
programs/winetest/send.c
View file @
fbc9dc10
...
...
@@ -134,6 +134,14 @@ send_file (const char *name)
file
=
CreateFileA
(
name
,
GENERIC_READ
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
|
FILE_SHARE_DELETE
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
if
((
file
==
INVALID_HANDLE_VALUE
)
&&
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
))
{
/* FILE_SHARE_DELETE not supported on win9x */
file
=
CreateFileA
(
name
,
GENERIC_READ
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
}
if
(
file
==
INVALID_HANDLE_VALUE
)
{
report
(
R_WARNING
,
"Can't open file '%s': %u"
,
name
,
GetLastError
());
...
...
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