summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-05-20 10:30:54 +0400
committerMatthieu Patou <mat@samba.org>2011-05-20 09:39:12 +0200
commita2f430911271ed3d9a681e64d250facb8e66f3f2 (patch)
tree208ebd2eb14df876c5babad5b4ae7e14b3c0da9b /source4/torture
parent642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce (diff)
downloadsamba-a2f430911271ed3d9a681e64d250facb8e66f3f2.tar.gz
samba-a2f430911271ed3d9a681e64d250facb8e66f3f2.tar.bz2
samba-a2f430911271ed3d9a681e64d250facb8e66f3f2.zip
torture-dfs: fix a typo that was causing the test to be flacky
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/dfs/domaindfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/dfs/domaindfs.c b/source4/torture/dfs/domaindfs.c
index 4914217e7a..89e9cc1426 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,