diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-25 16:01:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:13 -0500 |
commit | 909b111f587705a45f63540b39968f1af58a9b5d (patch) | |
tree | 48355b5250c40932b0c5a9dde2e5ade2c3fc29df /source4/torture/raw | |
parent | 6c5853aa8d6dfbfeb96d705cbd157544352f810e (diff) | |
download | samba-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/raw')
-rw-r--r-- | source4/torture/raw/acls.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/chkpath.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/close.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/composite.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/context.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/eas.c | 4 | ||||
-rw-r--r-- | source4/torture/raw/ioctl.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/lock.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/mkdir.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/mux.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/notify.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/open.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/oplock.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/qfileinfo.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/qfsinfo.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/read.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/rename.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/search.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/seek.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/setfileinfo.c | 4 | ||||
-rw-r--r-- | source4/torture/raw/streams.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/unlink.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/write.c | 2 |
23 files changed, 25 insertions, 25 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index 1c6b28f6ee..f461b0f30c 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -1427,7 +1427,7 @@ done: /* basic testing of security descriptor calls */ -BOOL torture_raw_acls(void) +BOOL torture_raw_acls(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index c311ea9fa5..a7675f3e3e 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -214,7 +214,7 @@ done: /* basic testing of chkpath calls */ -BOOL torture_raw_chkpath(void) +BOOL torture_raw_chkpath(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c index 417fedf204..41c6956c25 100644 --- a/source4/torture/raw/close.c +++ b/source4/torture/raw/close.c @@ -28,7 +28,7 @@ /* basic testing of all RAW_CLOSE_* calls */ -BOOL torture_raw_close(void) +BOOL torture_raw_close(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/composite.c b/source4/torture/raw/composite.c index 53b21c2829..2ce827df6a 100644 --- a/source4/torture/raw/composite.c +++ b/source4/torture/raw/composite.c @@ -393,7 +393,7 @@ static BOOL test_fsinfo(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) /* basic testing of libcli composite calls */ -BOOL torture_raw_composite(void) +BOOL torture_raw_composite(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index d53cf74573..0a400c02e6 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -747,7 +747,7 @@ static BOOL torture_raw_context_int(void) /* basic testing of session/tree context calls */ -BOOL torture_raw_context(void) +BOOL torture_raw_context(struct torture_context *torture) { BOOL ret = True; if (lp_use_spnego()) { diff --git a/source4/torture/raw/eas.c b/source4/torture/raw/eas.c index d5e0f33586..0a371688c7 100644 --- a/source4/torture/raw/eas.c +++ b/source4/torture/raw/eas.c @@ -445,7 +445,7 @@ done: /* basic testing of EA calls */ -BOOL torture_raw_eas(void) +BOOL torture_raw_eas(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; @@ -474,7 +474,7 @@ BOOL torture_raw_eas(void) /* test max EA size */ -BOOL torture_max_eas(void) +BOOL torture_max_eas(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c index 79bb6cd95b..22e90bed8a 100644 --- a/source4/torture/raw/ioctl.c +++ b/source4/torture/raw/ioctl.c @@ -148,7 +148,7 @@ done: /* basic testing of some ioctl calls */ -BOOL torture_raw_ioctl(void) +BOOL torture_raw_ioctl(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index d49d8613cb..e6930f2b33 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -662,7 +662,7 @@ done: /* basic testing of lock calls */ -BOOL torture_raw_lock(void) +BOOL torture_raw_lock(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c index c68fa7400e..d7b3baa2db 100644 --- a/source4/torture/raw/mkdir.c +++ b/source4/torture/raw/mkdir.c @@ -145,7 +145,7 @@ done: /* basic testing of all RAW_MKDIR_* calls */ -BOOL torture_raw_mkdir(void) +BOOL torture_raw_mkdir(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/mux.c b/source4/torture/raw/mux.c index 880300c5d7..d1302a339b 100644 --- a/source4/torture/raw/mux.c +++ b/source4/torture/raw/mux.c @@ -307,7 +307,7 @@ done: /* basic testing of multiplexing notify */ -BOOL torture_raw_mux(void) +BOOL torture_raw_mux(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index e781ffca87..9f0d0e355d 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -492,7 +492,7 @@ done: /* basic testing of change notify */ -BOOL torture_raw_notify(void) +BOOL torture_raw_notify(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c index 9073d8452e..5dcb3cc9b6 100644 --- a/source4/torture/raw/open.c +++ b/source4/torture/raw/open.c @@ -1393,7 +1393,7 @@ static BOOL test_raw_open_multi(void) /* basic testing of all RAW_OPEN_* calls */ -BOOL torture_raw_open(void) +BOOL torture_raw_open(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index bb1da3c67f..14d4c7bc04 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -476,7 +476,7 @@ done: /* basic testing of oplocks */ -BOOL torture_raw_oplock(void) +BOOL torture_raw_oplock(struct torture_context *torture) { struct smbcli_state *cli1; BOOL ret = True; diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c index e9b8475094..6e10cc301c 100644 --- a/source4/torture/raw/qfileinfo.c +++ b/source4/torture/raw/qfileinfo.c @@ -151,7 +151,7 @@ static union smb_fileinfo *fname_find(const char *name) for each call we test that it succeeds, and where possible test for consistency between the calls. */ -BOOL torture_raw_qfileinfo(void) +BOOL torture_raw_qfileinfo(struct torture_context *torture) { struct smbcli_state *cli; int i; diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c index 520dc2a5d0..0a93f65b7a 100644 --- a/source4/torture/raw/qfsinfo.c +++ b/source4/torture/raw/qfsinfo.c @@ -121,7 +121,7 @@ static union smb_fsinfo *find(const char *name) Some of the consistency tests assume that the target filesystem is quiescent, which is sometimes hard to achieve */ -BOOL torture_raw_qfsinfo(void) +BOOL torture_raw_qfsinfo(struct torture_context *torture) { struct smbcli_state *cli; int i; diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c index 8fdeb61fb8..8c257462f2 100644 --- a/source4/torture/raw/read.c +++ b/source4/torture/raw/read.c @@ -714,7 +714,7 @@ done: /* basic testing of read calls */ -BOOL torture_raw_read(void) +BOOL torture_raw_read(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c index 264b9f0b14..02a462b855 100644 --- a/source4/torture/raw/rename.c +++ b/source4/torture/raw/rename.c @@ -419,7 +419,7 @@ done: /* basic testing of rename calls */ -BOOL torture_raw_rename(void) +BOOL torture_raw_rename(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index d027ebd273..ef415bc60b 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -1310,7 +1310,7 @@ done: /* basic testing of all RAW_SEARCH_* calls using a single file */ -BOOL torture_raw_search(void) +BOOL torture_raw_search(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/seek.c b/source4/torture/raw/seek.c index dc0b1ea529..dddba15c0e 100644 --- a/source4/torture/raw/seek.c +++ b/source4/torture/raw/seek.c @@ -234,7 +234,7 @@ done: /* basic testing of seek calls */ -BOOL torture_raw_seek(void) +BOOL torture_raw_seek(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c index 3223f266bb..33755e72b2 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -31,7 +31,7 @@ for each call we test that it succeeds, and where possible test for consistency between the calls. */ -BOOL torture_raw_sfileinfo(void) +BOOL torture_raw_sfileinfo(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; @@ -533,7 +533,7 @@ done: /* look for the w2k3 setpathinfo STANDARD bug */ -BOOL torture_raw_sfileinfo_bug(void) +BOOL torture_raw_sfileinfo_bug(struct torture_context *torture) { struct smbcli_state *cli; TALLOC_CTX *mem_ctx; diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c index 4b3d7a2a89..978a5fcc3a 100644 --- a/source4/torture/raw/streams.c +++ b/source4/torture/raw/streams.c @@ -214,7 +214,7 @@ done: /* basic testing of streams calls */ -BOOL torture_raw_streams(void) +BOOL torture_raw_streams(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index 2808124cd5..0caf55ebf7 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -401,7 +401,7 @@ done: /* basic testing of unlink calls */ -BOOL torture_raw_unlink(void) +BOOL torture_raw_unlink(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index a00a5dd9c9..82de598f7b 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -676,7 +676,7 @@ done: /* basic testing of write calls */ -BOOL torture_raw_write(void) +BOOL torture_raw_write(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; |