From 307e2d13878a1f7b3db62f2fb33d30981be55a1e Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 26 Apr 2012 00:05:24 -0700 Subject: torture: change dfs tests now that we return a level 4 when level 4 is requested Autobuild-User: Matthieu Patou Autobuild-Date: Thu Apr 26 21:25:37 CEST 2012 on sn-devel-104 --- source4/torture/dfs/domaindfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/torture/dfs') diff --git a/source4/torture/dfs/domaindfs.c b/source4/torture/dfs/domaindfs.c index 89e9cc1426..4981d0f11e 100644 --- a/source4/torture/dfs/domaindfs.c +++ b/source4/torture/dfs/domaindfs.c @@ -380,7 +380,6 @@ static bool test_getsysvolreferral(struct torture_context *tctx, "Wrong DFS_path %s unable to find substring %s in it", resp3.referral_entries[0].referral.v3.referrals.r1.netw_address, str+1)); -#if 0 /* * Due to strange behavior with XP and level 4 * we are obliged to degrade to level 3 ... @@ -398,7 +397,8 @@ static bool test_getsysvolreferral(struct torture_context *tctx, torture_assert_int_equal(tctx, memcmp(resp3.referral_entries[0].referral.v3.service_site_guid.value, zeros, 16), 0, talloc_asprintf(tctx, "Service_site_guid is not NULL as expected")); -#endif +#if 0 + /* Shouldn't be needed anymore*/ r3.in.req.max_referral_level = 4; torture_assert_ntstatus_ok(tctx, @@ -409,7 +409,6 @@ static bool test_getsysvolreferral(struct torture_context *tctx, talloc_asprintf(tctx, "Not expected version for referral entry 0 got %d expected 3 in degraded mode", resp3.referral_entries[0].version)); -#if 0 /* * We do not support fallback indication for the moment */ -- cgit