diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-19 19:55:32 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-21 14:03:57 +0100 |
commit | 2f79217964ef2f3b4b5c8bd8780db88081ecbc5d (patch) | |
tree | fc694721450a4bf9e041c7cd882a464c8c7541fd /source4/lib/registry/tests | |
parent | d82b325bc315d4d1dc4e5489e0c5df1764835540 (diff) | |
download | samba-2f79217964ef2f3b4b5c8bd8780db88081ecbc5d.tar.gz samba-2f79217964ef2f3b4b5c8bd8780db88081ecbc5d.tar.bz2 samba-2f79217964ef2f3b4b5c8bd8780db88081ecbc5d.zip |
s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"
Further tests show that (at least per default) there aren't any differences
between them.
Diffstat (limited to 'source4/lib/registry/tests')
-rw-r--r-- | source4/lib/registry/tests/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/generic.c b/source4/lib/registry/tests/generic.c index 1e8effa7e9..206fad0d41 100644 --- a/source4/lib/registry/tests/generic.c +++ b/source4/lib/registry/tests/generic.c @@ -74,7 +74,7 @@ static bool test_reg_val_data_string_dword_big_endian(struct torture_context *ct { uint32_t d = 0x20; DATA_BLOB db = { (uint8_t *)&d, sizeof(d) }; - torture_assert_str_equal(ctx, "0x20000000", + torture_assert_str_equal(ctx, "0x00000020", reg_val_data_string(ctx, lp_iconv_convenience(ctx->lp_ctx), REG_DWORD_BIG_ENDIAN, db), "dword failed"); return true; |