torture-dfs: fix a typo that was causing the test to be flacky
authorMatthieu Patou <mat@matws.net>
Fri, 20 May 2011 06:30:54 +0000 (10:30 +0400)
committerMatthieu Patou <mat@samba.org>
Fri, 20 May 2011 07:39:12 +0000 (09:39 +0200)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104

source4/torture/dfs/domaindfs.c

index 4914217e7a6c5789f226463fcbba8bf336fa2224..89e9cc1426a77f9a016dd325ca75fd06ea24dbfe 100644 (file)
@@ -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,