summaryrefslogtreecommitdiff
path: root/source4/torture/winbind
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-15 16:31:08 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-15 16:31:08 +0200
commitcb5873f36d5f67b51afd9327df114ff7c1b529d0 (patch)
treeeaf1c28bd861a10cf07635571c4a784871b9a4f0 /source4/torture/winbind
parente0eba5232d3f2cd366b1cbe64fbd3547889c7635 (diff)
downloadsamba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.tar.gz
samba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.tar.bz2
samba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.zip
Fix some of the winbind tests.
Some of the test expectations were incorrect. Andrew Bartlett (This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r--source4/torture/winbind/struct_based.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index 0fe2148b75..51ac0e622a 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -181,7 +181,8 @@ static bool torture_winbind_struct_netbios_name(struct torture_context *torture)
expected = torture_setting_string(torture,
"winbindd netbios name",
lp_netbios_name(torture->lp_ctx));
-
+ expected = strupper_talloc(torture, expected);
+
torture_assert_str_equal(torture,
rep.data.netbios_name, expected,
"winbindd's netbios name doesn't match");