Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
fbc9dc10
Commit
fbc9dc10
authored
16 years ago
by
Detlef Riekenberg
Committed by
Alexandre Julliard
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
winetest: Run tests again on Win9x.
parent
c4ac69b7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
programs/winetest/main.c
+16
-0
16 additions, 0 deletions
programs/winetest/main.c
programs/winetest/send.c
+8
-0
8 additions, 0 deletions
programs/winetest/send.c
with
24 additions
and
0 deletions
programs/winetest/main.c
+
16
−
0
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
());
...
...
This diff is collapsed.
Click to expand it.
programs/winetest/send.c
+
8
−
0
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
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment