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
35a39e3c
Commit
35a39e3c
authored
Feb 23, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version/tests: Remove win9x hacks.
parent
291949cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
info.c
dlls/version/tests/info.c
+4
-9
No files found.
dlls/version/tests/info.c
View file @
35a39e3c
...
...
@@ -178,7 +178,6 @@ static void test_info_size(void)
ok
(
retval
==
0
,
"Expected 0, got %d
\n
"
,
retval
);
ok
(
hdl
==
0
,
"Expected 0, got %d
\n
"
,
hdl
);
ok
(
GetLastError
()
==
ERROR_RESOURCE_DATA_NOT_FOUND
||
GetLastError
()
==
ERROR_BAD_FORMAT
||
/* win9x */
GetLastError
()
==
ERROR_SUCCESS
,
/* win2k */
"Expected ERROR_RESOURCE_DATA_NOT_FOUND, got %d
\n
"
,
GetLastError
());
...
...
@@ -501,12 +500,10 @@ static void test_VerQueryValue(void)
ret
=
VerQueryValue
(
ver
,
"String"
,
(
LPVOID
*
)
&
p
,
&
len
);
ok
(
!
ret
,
"VerQueryValue should fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
||
GetLastError
()
==
0xdeadbeef
/*
Win9x,
NT4, W2K */
,
GetLastError
()
==
0xdeadbeef
/* NT4, W2K */
,
"VerQueryValue returned %u
\n
"
,
GetLastError
());
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
len
==
0
||
len
==
0xbeef
,
/* win9x */
"expected 0 got %x
\n
"
,
len
);
ok
(
len
==
0
,
"expected 0 got %x
\n
"
,
len
);
p
=
(
char
*
)
0xdeadbeef
;
len
=
0xdeadbeef
;
...
...
@@ -570,12 +567,10 @@ todo_wine ok(len == 0, "VerQueryValue returned %u, expected 0\n", len);
ret
=
VerQueryValue
(
ver
,
buf
,
(
LPVOID
*
)
&
p
,
&
len
);
ok
(
!
ret
,
"VerQueryValue(%s) succeeded
\n
"
,
buf
);
ok
(
GetLastError
()
==
ERROR_RESOURCE_TYPE_NOT_FOUND
||
GetLastError
()
==
0xdeadbeef
/*
Win9x,
NT4, W2K */
,
GetLastError
()
==
0xdeadbeef
/* NT4, W2K */
,
"VerQueryValue returned %u
\n
"
,
GetLastError
());
ok
(
p
==
(
char
*
)
0xdeadbeef
,
"expected 0xdeadbeef got %p
\n
"
,
p
);
ok
(
len
==
0
||
len
==
0xbeef
,
/* win9x */
"expected 0 or 0xbeef, got %x
\n
"
,
len
);
ok
(
len
==
0
,
"expected 0 or 0xbeef, got %x
\n
"
,
len
);
}
HeapFree
(
GetProcessHeap
(),
0
,
ver
);
...
...
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