mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
reg/tests: Add a test for REG_NONE with no data argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c50e34efe
commit
965dee67c1
1 changed files with 4 additions and 0 deletions
|
@ -145,6 +145,10 @@ static void test_add(void)
|
|||
ok(r == REG_EXIT_SUCCESS, "got exit code %d\n", r);
|
||||
verify_reg(hkey, "none0", REG_NONE, "d\0e\0a\0d\0b\0e\0e\0f\0\0", 18, 0);
|
||||
|
||||
run_reg_exe("reg add HKCU\\" KEY_BASE " /v none1 /t REG_NONE /f", &r);
|
||||
ok(r == REG_EXIT_SUCCESS, "got exit code %u, expected 0\n", r);
|
||||
verify_reg(hkey, "none1", REG_NONE, "\0", 2, TODO_REG_SIZE);
|
||||
|
||||
/* REG_SZ */
|
||||
run_reg_exe("reg add HKCU\\" KEY_BASE " /d WineTest /f", &r);
|
||||
ok(r == REG_EXIT_SUCCESS || broken(r == REG_EXIT_FAILURE /* WinXP */),
|
||||
|
|
Loading…
Reference in a new issue