Hugh McMaster : reg/tests: Add REG_BINARY to the empty hex data import tests.
Module: wine Branch: master Commit: 6607065356381941e4ffbb7d07b5a8b78b7e93a4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6607065356381941e4ffbb7d07... Author: Hugh McMaster <hugh.mcmaster(a)outlook.com> Date: Mon Oct 9 11:46:58 2017 +0000 reg/tests: Add REG_BINARY to the empty hex data import tests. Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/reg/tests/reg.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c index e93062b..3a3ff8d 100644 --- a/programs/reg/tests/reg.c +++ b/programs/reg/tests/reg.c @@ -2354,7 +2354,8 @@ static void test_import(void) "\"Wine68d\"=hex(4):\n" "\"Wine68e\"=hex(7):\n" "\"Wine68f\"=hex(100):\n" - "\"Wine68g\"=hex(abcd):\n\n", &r); + "\"Wine68g\"=hex(abcd):\n" + "\"Wine68h\"=hex:\n\n", &r); ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); verify_reg(hkey, "Wine68a", REG_SZ, NULL, 0, 0); verify_reg(hkey, "Wine68b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE); @@ -2363,6 +2364,7 @@ static void test_import(void) verify_reg(hkey, "Wine68e", REG_MULTI_SZ, NULL, 0, TODO_REG_SIZE); verify_reg(hkey, "Wine68f", 0x100, NULL, 0, 0); verify_reg(hkey, "Wine68g", 0xabcd, NULL, 0, 0); + verify_reg(hkey, "Wine68h", REG_BINARY, NULL, 0, 0); err = RegCloseKey(hkey); ok(err == ERROR_SUCCESS, "got %d, expected 0\n", err); @@ -3852,7 +3854,8 @@ static void test_unicode_import(void) "\"Wine68d\"=hex(4):\n" "\"Wine68e\"=hex(7):\n" "\"Wine68f\"=hex(100):\n" - "\"Wine68g\"=hex(abcd):\n\n", &r); + "\"Wine68g\"=hex(abcd):\n" + "\"Wine68h\"=hex:\n\n", &r); ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); verify_reg(hkey, "Wine68a", REG_SZ, NULL, 0, 0); verify_reg(hkey, "Wine68b", REG_EXPAND_SZ, NULL, 0, TODO_REG_SIZE); @@ -3861,6 +3864,7 @@ static void test_unicode_import(void) verify_reg(hkey, "Wine68e", REG_MULTI_SZ, NULL, 0, TODO_REG_SIZE); verify_reg(hkey, "Wine68f", 0x100, NULL, 0, 0); verify_reg(hkey, "Wine68g", 0xabcd, NULL, 0, 0); + verify_reg(hkey, "Wine68h", REG_BINARY, NULL, 0, 0); err = RegCloseKey(hkey); ok(err == ERROR_SUCCESS, "got %d, expected 0\n", err);
participants (1)
-
Alexandre Julliard