reg/tests: Add registry view syntax tests for the 'import' operation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2021-07-09 21:30:19 +10:00 committed by Alexandre Julliard
parent 4f52e32205
commit 49cde09958
1 changed files with 9 additions and 0 deletions

View File

@ -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)