summaryrefslogtreecommitdiff
path: root/source4/torture/basic/denytest.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-25 16:01:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:13 -0500
commit909b111f587705a45f63540b39968f1af58a9b5d (patch)
tree48355b5250c40932b0c5a9dde2e5ade2c3fc29df /source4/torture/basic/denytest.c
parent6c5853aa8d6dfbfeb96d705cbd157544352f810e (diff)
downloadsamba-909b111f587705a45f63540b39968f1af58a9b5d.tar.gz
samba-909b111f587705a45f63540b39968f1af58a9b5d.tar.bz2
samba-909b111f587705a45f63540b39968f1af58a9b5d.zip
r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
Diffstat (limited to 'source4/torture/basic/denytest.c')
-rw-r--r--source4/torture/basic/denytest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c
index 2a01d12c5b..9b9be967b1 100644
--- a/source4/torture/basic/denytest.c
+++ b/source4/torture/basic/denytest.c
@@ -1410,7 +1410,7 @@ static void progress_bar(uint_t i, uint_t total)
/*
this produces a matrix of deny mode behaviour for 1 connection
*/
-BOOL torture_denytest1(void)
+BOOL torture_denytest1(struct torture_context *torture)
{
static struct smbcli_state *cli1;
int fnum1, fnum2;
@@ -1509,7 +1509,7 @@ failed:
/*
this produces a matrix of deny mode behaviour with 2 connections
*/
-BOOL torture_denytest2(void)
+BOOL torture_denytest2(struct torture_context *torture)
{
static struct smbcli_state *cli1, *cli2;
int fnum1, fnum2;
@@ -1610,7 +1610,7 @@ failed:
/*
simple test harness for playing with deny modes
*/
-BOOL torture_denytest3(void)
+BOOL torture_denytest3(struct torture_context *torture)
{
struct smbcli_state *cli1, *cli2;
int fnum1, fnum2;
@@ -1938,7 +1938,7 @@ BOOL torture_ntdenytest1(struct smbcli_state *cli, int client)
/*
a denytest for ntcreatex
*/
-BOOL torture_ntdenytest2(void)
+BOOL torture_ntdenytest2(struct torture_context *torture)
{
struct smbcli_state *cli1, *cli2;
BOOL ret;
@@ -1980,7 +1980,7 @@ BOOL torture_ntdenytest2(void)
/*
test sharing of handles with DENY_DOS on a single connection
*/
-BOOL torture_denydos_sharing(void)
+BOOL torture_denydos_sharing(struct torture_context *torture)
{
struct smbcli_state *cli;
union smb_open io;