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
48cd2588
Commit
48cd2588
authored
May 14, 2021
by
Hugh McMaster
Committed by
Alexandre Julliard
May 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg/tests: Add missing return code checks.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
acecfc63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
export.c
programs/reg/tests/export.c
+2
-0
No files found.
programs/reg/tests/export.c
View file @
48cd2588
...
...
@@ -335,6 +335,7 @@ static void test_export(void)
"
\"
Wine2a
\"
=hex(1):
\n
"
"
\"
Wine2b
\"
=hex(3):
\n
"
"
\"
Wine2c
\"
=hex(4):
\n\n
"
,
&
r
);
ok
(
r
==
REG_EXIT_SUCCESS
,
"got exit code %d, expected 0
\n
"
,
r
);
open_key
(
HKEY_CURRENT_USER
,
KEY_BASE
,
0
,
&
hkey
);
verify_reg
(
hkey
,
"Wine2a"
,
REG_SZ
,
NULL
,
0
,
0
);
verify_reg
(
hkey
,
"Wine2b"
,
REG_BINARY
,
NULL
,
0
,
0
);
...
...
@@ -351,6 +352,7 @@ static void test_export(void)
"
\"
Wine3a
\"
=hex(1):56,00,61,00,6c,00,75,00,65,00,00,00
\n
"
"
\"
Wine3b
\"
=hex(3):12,34,56,78
\n
"
"
\"
Wine3c
\"
=hex(4):40,30,20,10
\n\n
"
,
&
r
);
ok
(
r
==
REG_EXIT_SUCCESS
,
"got exit code %d, expected 0
\n
"
,
r
);
open_key
(
HKEY_CURRENT_USER
,
KEY_BASE
,
0
,
&
hkey
);
verify_reg
(
hkey
,
"Wine3a"
,
REG_SZ
,
"Value"
,
6
,
0
);
memcpy
(
hex
,
"
\x12\x34\x56\x78
"
,
4
);
...
...
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