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
cf369316
Commit
cf369316
authored
Aug 26, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Handle a couple of failures on NT4.
parent
220bc61c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
env.c
dlls/ntdll/tests/env.c
+4
-2
No files found.
dlls/ntdll/tests/env.c
View file @
cf369316
...
...
@@ -155,7 +155,9 @@ static void testSetHelper(LPWSTR* env, const char* var, const char* val, NTSTATU
ok
(
lstrcmpW
(
bval1
,
bval2
)
==
0
,
"Cannot get value written to environment
\n
"
);
break
;
case
STATUS_VARIABLE_NOT_FOUND
:
ok
(
val
==
NULL
,
"Couldn't find variable, but didn't delete it. val = %s
\n
"
,
val
);
ok
(
val
==
NULL
||
broken
(
strchr
(
var
,
'='
)
!=
NULL
),
/* variable containing '=' may be set but not found again on NT4 */
"Couldn't find variable, but didn't delete it. val = %s
\n
"
,
val
);
break
;
default:
ok
(
0
,
"Wrong ret %u for %s
\n
"
,
nts
,
var
);
...
...
@@ -178,7 +180,7 @@ static void testSet(void)
testSetHelper
(
&
env
,
"cat"
,
NULL
,
STATUS_SUCCESS
,
0
);
testSetHelper
(
&
env
,
"cat"
,
NULL
,
STATUS_SUCCESS
,
STATUS_VARIABLE_NOT_FOUND
);
testSetHelper
(
&
env
,
"foo"
,
"meouw"
,
STATUS_SUCCESS
,
0
);
testSetHelper
(
&
env
,
"me=too"
,
"also"
,
STATUS_
INVALID_PARAMETER
,
0
);
testSetHelper
(
&
env
,
"me=too"
,
"also"
,
STATUS_
SUCCESS
,
STATUS_INVALID_PARAMETER
);
testSetHelper
(
&
env
,
"me"
,
"too=also"
,
STATUS_SUCCESS
,
0
);
testSetHelper
(
&
env
,
"=too"
,
"also"
,
STATUS_SUCCESS
,
0
);
testSetHelper
(
&
env
,
"="
,
"also"
,
STATUS_SUCCESS
,
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