diff options
Diffstat (limited to 'source4/torture/raw/lock.c')
-rw-r--r-- | source4/torture/raw/lock.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 0a2ed5260b..a62a240355 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -462,6 +462,11 @@ static BOOL test_async(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) time_t t; struct smbcli_request *req; + if (lp_parm_bool(-1, "target", "samba3", False)) { + printf("SAMBA3: ignore testing LOCKING_ANDX_CANCEL_LOCK...\n"); + return True; + } + if (!torture_setup_dir(cli, BASEDIR)) { return False; } @@ -791,6 +796,11 @@ static BOOL test_errorcode(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) time_t start; int t; + if (lp_parm_bool(-1, "target", "samba3", False)) { + printf("SAMBA3: ignore testing LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT...\n"); + return True; + } + if (!torture_setup_dir(cli, BASEDIR)) { return False; } |