Hugh McMaster : reg/tests: Add registry view syntax tests for the 'import' operation.
Alexandre Julliard
julliard at winehq.org
Fri Jul 9 16:45:34 CDT 2021
Module: wine
Branch: master
Commit: 49cde0995827b24aa9c1ef1b6a0372797f4166e0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=49cde0995827b24aa9c1ef1b6a0372797f4166e0
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Fri Jul 9 21:30:19 2021 +1000
reg/tests: Add registry view syntax tests for the 'import' operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/reg/tests/import.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/programs/reg/tests/import.c b/programs/reg/tests/import.c
index 976dd381f07..ffc29d5cf1b 100644
--- a/programs/reg/tests/import.c
+++ b/programs/reg/tests/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)
More information about the wine-cvs
mailing list