From cf38a1f850dd3712e7cd71364cc86ecba7871d03 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 14 Jan 2010 13:21:44 +0100 Subject: s3 test: Fix WINBINDD-STRUCT tests The struct-based tests are working in make selftest, make them work in plain "make test" as well. --- source4/torture/winbind/struct_based.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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"); -- cgit