From: Stefan Metzmacher Date: Tue, 6 Mar 2012 08:29:06 +0000 (+0100) Subject: functions twice - obnox please fix... X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=41809d0c5399868176906239be99a6a6b44fe069 functions twice - obnox please fix... --- diff --git a/source4/torture/smb2/durable_v2_open.c b/source4/torture/smb2/durable_v2_open.c index 21dc0b3b1997..e1893f24f7e6 100644 --- a/source4/torture/smb2/durable_v2_open.c +++ b/source4/torture/smb2/durable_v2_open.c @@ -414,7 +414,7 @@ struct durable_open_vs_oplock persistent_open_oplock_ca_table[NUM_OPLOCK_OPEN_TE { "b", "WD", true, true }, { "b", "RWD", true, true }, }; - +#if 0 bool test_persistent_open_oplock(struct torture_context *tctx, struct smb2_tree *tree) { @@ -443,7 +443,7 @@ bool test_persistent_open_oplock(struct torture_context *tctx, return ret; } - +#endif /** * basic persistent handle open test. * persistent state should only be granted when requested @@ -499,7 +499,7 @@ struct durable_open_vs_lease persistent_open_lease_ca_table[NUM_LEASE_OPEN_TESTS { "RHW", "WD", true, true }, { "RHW", "RWD", true, true }, }; - +#if 0 bool test_persistent_open_lease(struct torture_context *tctx, struct smb2_tree *tree) { @@ -534,7 +534,7 @@ bool test_persistent_open_lease(struct torture_context *tctx, return ret; } - +#endif /** * basic persistent open test.