https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4e25c2d09b0d02dcb51e0…
commit 4e25c2d09b0d02dcb51e04a4cad2fe825c678616
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Jan 17 18:47:38 2022 +0100
Commit: Thomas Csovcsity <thc.fr13nd(a)gmail.com>
CommitDate: Sun Jun 19 13:06:38 2022 +0200
[WINESYNC] reg/tests: Add registry view syntax tests for the 'import'
operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 49cde0995827b24aa9c1ef1b6a0372797f4166e0 by Hugh McMaster
<hugh.mcmaster(a)outlook.com>
---
modules/rostests/winetests/reg/import.c | 9 +++++++++
sdk/tools/winesync/reg.cfg | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/winetests/reg/import.c
b/modules/rostests/winetests/reg/import.c
index 976dd381f07..ffc29d5cf1b 100644
--- a/modules/rostests/winetests/reg/import.c
+++ b/modules/rostests/winetests/reg/import.c
@@ -130,6 +130,15 @@ static void test_command_syntax(void)
run_reg_exe("reg import a.reg b.reg", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
+
+ run_reg_exe("reg import foo.reg /reg:32 /reg:32", &r);
+ ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
+
+ run_reg_exe("reg import foo.reg /reg:32 /reg:64", &r);
+ ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
+
+ run_reg_exe("reg import foo.reg /reg:64 /reg:64", &r);
+ ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
}
static void test_import(void)
diff --git a/sdk/tools/winesync/reg.cfg b/sdk/tools/winesync/reg.cfg
index 9ea9c85f23d..14261f5179b 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: 0c71a9879d894e4b82de2909c9c44e36c0bbb35e
+ wine: 49cde0995827b24aa9c1ef1b6a0372797f4166e0