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
6c5deaa4
Commit
6c5deaa4
authored
Jan 02, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit/tests: Get rid of version check.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
59c47c9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
regedit.c
programs/regedit/tests/regedit.c
+1
-10
No files found.
programs/regedit/tests/regedit.c
View file @
6c5deaa4
...
...
@@ -1647,7 +1647,7 @@ static void test_invalid_import_unicode(void)
{
LONG
lr
;
HKEY
hkey
;
DWORD
dword
=
0x8
,
os_version
,
major_version
,
minor_version
;
DWORD
dword
=
0x8
;
lr
=
RegDeleteKeyA
(
HKEY_CURRENT_USER
,
KEY_BASE
);
ok
(
lr
==
ERROR_SUCCESS
||
lr
==
ERROR_FILE_NOT_FOUND
,
"RegDeleteKeyA failed: %d
\n
"
,
lr
);
...
...
@@ -1740,19 +1740,10 @@ static void test_invalid_import_unicode(void)
"
\"
Test10
\"
=
\"
Value
\"\n
"
);
verify_reg_nonexist
(
hkey
,
"Test10"
);
os_version
=
GetVersion
();
major_version
=
LOBYTE
(
LOWORD
(
os_version
));
minor_version
=
HIBYTE
(
LOWORD
(
os_version
));
if
(
major_version
>
5
||
(
major_version
==
5
&&
minor_version
>
0
))
{
exec_import_wstr
(
"
\xef\xbb\xbf
Windows Registry Editor version 5.00
\n\n
"
"[HKEY_CURRENT_USER
\\
"
KEY_BASE
"]
\n
"
"
\"
Test11
\"
=
\"
Value
\"\n
"
);
verify_reg_nonexist
(
hkey
,
"Test11"
);
}
else
/* Windows 2000 */
win_skip
(
"Skipping a non-standard header test
\n
"
);
/* Test multi-line import with incorrect comma placement */
exec_import_wstr
(
"
\xef\xbb\xbf
Windows Registry Editor Version 5.00
\n\n
"
...
...
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