summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@id10ts.net>2009-09-25 15:10:40 -0500
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-30 16:02:14 +0200
commitc5dba4a82eb9f6cc199d20489c89a7765504919d (patch)
tree20b4d3d2362d1858feb1f9992f631c434816f315
parent9e7fb6a673f9251f00425f7217ebcdf86a1ed42d (diff)
downloadsamba-c5dba4a82eb9f6cc199d20489c89a7765504919d.tar.gz
samba-c5dba4a82eb9f6cc199d20489c89a7765504919d.tar.bz2
samba-c5dba4a82eb9f6cc199d20489c89a7765504919d.zip
s4:torture: data_blob_hex_string() output is now lowercase.
Based on the change in commit fb84edabbe9f358031117de2cf78613c704ac600, these tests needs to expect lowercase output.
-rw-r--r--lib/util/tests/data_blob.c2
-rw-r--r--source4/torture/ldb/ldb.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/tests/data_blob.c b/lib/util/tests/data_blob.c
index 875e5fdef8..f0b02b8d17 100644
--- a/lib/util/tests/data_blob.c
+++ b/lib/util/tests/data_blob.c
@@ -78,7 +78,7 @@ static bool test_cmp(struct torture_context *tctx)
static bool test_hex_string(struct torture_context *tctx)
{
DATA_BLOB a = data_blob_string_const("\xC\xA\xF\xE");
- torture_assert_str_equal(tctx, data_blob_hex_string(tctx, &a), "0C0A0F0E", "hex string");
+ torture_assert_str_equal(tctx, data_blob_hex_string(tctx, &a), "0c0a0f0e", "hex string");
return true;
}
diff --git a/source4/torture/ldb/ldb.c b/source4/torture/ldb/ldb.c
index 64ed669fc1..c7021941b4 100644
--- a/source4/torture/ldb/ldb.c
+++ b/source4/torture/ldb/ldb.c
@@ -31,10 +31,10 @@
#include "torture/local/proto.h"
static const char *sid = "S-1-5-21-4177067393-1453636373-93818737";
-static const char *hex_sid = "01040000000000051500000081FDF8F815BBA456718F9705";
+static const char *hex_sid = "01040000000000051500000081fdf8f815bba456718f9705";
static const char *guid = "975ac5fa-35d9-431d-b86a-845bcd34fff9";
static const char *guid2 = "{975ac5fa-35d9-431d-b86a-845bcd34fff9}";
-static const char *hex_guid = "FAC55A97D9351D43B86A845BCD34FFF9";
+static const char *hex_guid = "fac55a97d9351d43b86a845bcd34fff9";
static const char *prefix_map_newline = "2:1.2.840.113556.1.2\n5:2.16.840.1.101.2.2.3";
static const char *prefix_map_semi = "2:1.2.840.113556.1.2;5:2.16.840.1.101.2.2.3";