mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
reg/tests: Test REG_NONE.
This commit is contained in:
parent
c15e87cec4
commit
4db1e20122
@ -151,6 +151,11 @@ static void test_add(void)
|
||||
err = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE "\\keytest4");
|
||||
ok(err == ERROR_SUCCESS, "got exit code %d\n", r);
|
||||
|
||||
/* REG_NONE */
|
||||
run_reg_exe("reg add HKCU\\" KEY_BASE " /v none0 /d deadbeef /t REG_NONE /f", &r);
|
||||
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, 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 New Issue
Block a user