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
426cc7fe
Commit
426cc7fe
authored
Nov 22, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Nov 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exit test after first TranslateInfString() failure, which seems to be
NT3.51 specific.
parent
932815d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
advpack.c
dlls/advpack/tests/advpack.c
+9
-2
No files found.
dlls/advpack/tests/advpack.c
View file @
426cc7fe
...
...
@@ -183,8 +183,15 @@ static void translateinfstring_test()
/* try to open an inf file that doesn't exist */
hr
=
pTranslateInfString
(
"c:
\\
a.inf"
,
"Options.NTx86"
,
"Options.NTx86"
,
"InstallDir"
,
buffer
,
MAX_PATH
,
&
dwSize
,
NULL
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hr
==
E_INVALIDARG
,
"Expected 0x80070002 or E_INVALIDARG, got 0x%08x
\n
"
,
(
UINT
)
hr
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hr
==
E_INVALIDARG
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_MOD_NOT_FOUND
),
"Expected E_INVALIDARG, 0x80070002 or 0x8007007e, got 0x%08x
\n
"
,
(
UINT
)
hr
);
if
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_MOD_NOT_FOUND
))
{
trace
(
"WinNT 3.51 detected. Skipping tests for TranslateInfString()"
);
return
;
}
/* try a nonexistent section */
buffer
[
0
]
=
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