summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-19 19:40:07 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-21 14:03:56 +0100
commit66f94ca3ecea628be73d37ea5a972783949f955b (patch)
tree46d7555ac40fdaa47ca84f644ddcc0a165599cb5
parenta55031792dfd56e1d8f235ea6cdd6383507ee5e4 (diff)
downloadsamba-66f94ca3ecea628be73d37ea5a972783949f955b.tar.gz
samba-66f94ca3ecea628be73d37ea5a972783949f955b.tar.bz2
samba-66f94ca3ecea628be73d37ea5a972783949f955b.zip
s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
We need to know how this behaves.
-rw-r--r--source4/torture/rpc/winreg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 14abd5158f..15dc1568b7 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -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;