1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type

We need to know how this behaves.
This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-19 19:40:07 +01:00
parent a55031792d
commit 66f94ca3ec

View File

@ -1923,6 +1923,7 @@ static bool test_SetValue_simple(struct dcerpc_binding_handle *b,
DATA_BLOB blob;
enum winreg_Type types[] = {
REG_DWORD,
REG_DWORD_BIG_ENDIAN,
REG_BINARY,
REG_SZ,
REG_MULTI_SZ
@ -1939,6 +1940,7 @@ static bool test_SetValue_simple(struct dcerpc_binding_handle *b,
switch (types[t]) {
case REG_DWORD:
case REG_DWORD_BIG_ENDIAN:
blob = data_blob_talloc_zero(tctx, 4);
SIVAL(blob.data, 0, value);
break;