From a2f430911271ed3d9a681e64d250facb8e66f3f2 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Fri, 20 May 2011 10:30:54 +0400 Subject: [PATCH] torture-dfs: fix a typo that was causing the test to be flacky Autobuild-User: Matthieu Patou Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104 --- source4/torture/dfs/domaindfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/dfs/domaindfs.c b/source4/torture/dfs/domaindfs.c index 4914217e7a6..89e9cc1426a 100644 --- a/source4/torture/dfs/domaindfs.c +++ b/source4/torture/dfs/domaindfs.c @@ -371,7 +371,7 @@ static bool test_getsysvolreferral(struct torture_context *tctx, resp3.referral_entries[0].referral.v3.referrals.r1.DFS_path, str+1)); torture_assert_int_equal(tctx, strlen( - resp2.referral_entries[0].referral.v3.referrals.r1.netw_address) > 0, + resp3.referral_entries[0].referral.v3.referrals.r1.netw_address) > 0, 1, "Length of first referral is less than 0"); torture_assert_int_equal(tctx, strstr(resp3.referral_entries[0].referral.v3.referrals.r1.netw_address, -- 2.11.4.GIT