summaryrefslogtreecommitdiff
path: root/source4/torture/winbind
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-01-14 13:21:44 +0100
committerKai Blin <kai@samba.org>2010-01-14 15:18:35 +0100
commitcf38a1f850dd3712e7cd71364cc86ecba7871d03 (patch)
tree39f5beaf308d85d1a29f7f84bc6ed05cf99ea60f /source4/torture/winbind
parent89e6eac290da6457b1d2259c32759d2b8a2b481b (diff)
downloadsamba-cf38a1f850dd3712e7cd71364cc86ecba7871d03.tar.gz
samba-cf38a1f850dd3712e7cd71364cc86ecba7871d03.tar.bz2
samba-cf38a1f850dd3712e7cd71364cc86ecba7871d03.zip
s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain "make test" as well.
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r--source4/torture/winbind/struct_based.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index 2f82428839..560fa4393d 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -166,10 +166,10 @@ static bool torture_winbind_struct_netbios_name(struct torture_context *torture)
DO_STRUCT_REQ_REP(WINBINDD_NETBIOS_NAME, NULL, &rep);
expected = torture_setting_string(torture,
- "winbindd netbios name",
+ "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");