reg/tests: Add a test for /s with no separator character.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-02-17 23:41:06 +11:00 committed by Alexandre Julliard
parent 46bdc153f1
commit 5a2ddc8d25

View File

@ -355,6 +355,9 @@ static void test_add(void)
run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi12 /t REG_MULTI_SZ /f /d", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi13 /t REG_MULTI_SZ /f /s", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
RegCloseKey(hkey);
err = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);