From 909b111f587705a45f63540b39968f1af58a9b5d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 25 Mar 2006 16:01:28 +0000 Subject: r14720: Add torture_context argument to all torture tests (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d) --- source4/torture/basic/denytest.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/basic/denytest.c') 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; -- cgit