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
d6a8b502
Commit
d6a8b502
authored
Feb 25, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version/tests: Win98, NT4 and W2K return different errors.
parent
0c7ab1bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
info.c
dlls/version/tests/info.c
+4
-2
No files found.
dlls/version/tests/info.c
View file @
d6a8b502
...
@@ -476,7 +476,8 @@ static void test_VerQueryValue(void)
...
@@ -476,7 +476,8 @@ static void test_VerQueryValue(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
VerQueryValue
(
ver
,
"String"
,
(
LPVOID
*
)
&
p
,
&
len
);
ret
=
VerQueryValue
(
ver
,
"String"
,
(
LPVOID
*
)
&
p
,
&
len
);
ok
(
!
ret
,
"VerQueryValue should fail
\n
"
);
ok
(
!
ret
,
"VerQueryValue should fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
,
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
||
GetLastError
()
==
0xdeadbeef
/* Win9x, NT4, W2K */
,
"VerQueryValue returned %u
\n
"
,
GetLastError
());
"VerQueryValue returned %u
\n
"
,
GetLastError
());
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
len
==
0
,
"expected 0 got %x
\n
"
,
len
);
ok
(
len
==
0
,
"expected 0 got %x
\n
"
,
len
);
...
@@ -542,7 +543,8 @@ todo_wine ok(len == 0, "VerQueryValue returned %u, expected 0\n", len);
...
@@ -542,7 +543,8 @@ todo_wine ok(len == 0, "VerQueryValue returned %u, expected 0\n", len);
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
VerQueryValue
(
ver
,
buf
,
(
LPVOID
*
)
&
p
,
&
len
);
ret
=
VerQueryValue
(
ver
,
buf
,
(
LPVOID
*
)
&
p
,
&
len
);
ok
(
!
ret
,
"VerQueryValue(%s) succeeded
\n
"
,
buf
);
ok
(
!
ret
,
"VerQueryValue(%s) succeeded
\n
"
,
buf
);
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
,
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
||
GetLastError
()
==
0xdeadbeef
/* Win9x, NT4, W2K */
,
"VerQueryValue returned %u
\n
"
,
GetLastError
());
"VerQueryValue returned %u
\n
"
,
GetLastError
());
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
len
==
0
,
"expected 0 got %x
\n
"
,
len
);
ok
(
len
==
0
,
"expected 0 got %x
\n
"
,
len
);
...
...
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