https://git.reactos.org/?p=reactos.git;a=commitdiff;h=105971e68ea7e727ed23f39b79c44cbd6e699dc5

commit 105971e68ea7e727ed23f39b79c44cbd6e699dc5
Author:     winesync <[email protected]>
AuthorDate: Sun Jan 16 21:21:18 2022 +0100
Commit:     Thomas Csovcsity <[email protected]>
CommitDate: Sun Jun 19 13:06:35 2022 +0200

    [WINESYNC] reg/tests: Add missing return code checks.
    
    Signed-off-by: Hugh McMaster <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id 48cd2588be54f7ab659ae3733456c826101f4c27 by Hugh McMaster 
<[email protected]>
---
 modules/rostests/winetests/reg/export.c | 2 ++
 sdk/tools/winesync/reg.cfg              | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/rostests/winetests/reg/export.c 
b/modules/rostests/winetests/reg/export.c
index 27d70b6a663..d2598dd8d48 100644
--- a/modules/rostests/winetests/reg/export.c
+++ b/modules/rostests/winetests/reg/export.c
@@ -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);
diff --git a/sdk/tools/winesync/reg.cfg b/sdk/tools/winesync/reg.cfg
index 1a439434dd5..3f876bd0b5f 100644
--- a/sdk/tools/winesync/reg.cfg
+++ b/sdk/tools/winesync/reg.cfg
@@ -4,4 +4,4 @@ directories:
 files:
   programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
 tags:
-  wine: bb609c6acbf53b822825e3077fe0996a85d5026d
+  wine: 48cd2588be54f7ab659ae3733456c826101f4c27

Reply via email to