From df891410f157263d6b3d884cf39aca596ba94cf6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 17 Mar 2006 16:11:02 +0000 Subject: r14519: Put base registration in a seperate file, as well as some of the base tests that were currently in torture.c (This used to be commit 4e7c3c7e1fe383b37d90954982e8bf150a06663a) --- source4/torture/torture_util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/torture_util.c') diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c index cecb005504..dde50f6522 100644 --- a/source4/torture/torture_util.c +++ b/source4/torture/torture_util.c @@ -26,10 +26,10 @@ #include "system/time.h" -/* +/** setup a directory ready for a test */ -BOOL torture_setup_dir(struct smbcli_state *cli, const char *dname) +_PUBLIC_ BOOL torture_setup_dir(struct smbcli_state *cli, const char *dname) { smb_raw_exit(cli->session); if (smbcli_deltree(cli->tree, dname) == -1 || @@ -75,11 +75,11 @@ NTSTATUS create_directory_handle(struct smbcli_tree *tree, const char *dname, in } -/* +/** sometimes we need a fairly complex file to work with, so we can test all possible attributes. */ -int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname) +_PUBLIC_ int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname) { int fnum; char buf[7] = "abc"; -- cgit