summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-22 10:31:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:13 -0500
commit677b680fcdf1e24bb73c57a42c61dd2300b5d911 (patch)
tree00b4cb264aa6e4c50b140bf2f70cd6b0deb71cff
parent9639c372ed5cb16dcf0b7e14c7469fe5627c9701 (diff)
downloadsamba-677b680fcdf1e24bb73c57a42c61dd2300b5d911.tar.gz
samba-677b680fcdf1e24bb73c57a42c61dd2300b5d911.tar.bz2
samba-677b680fcdf1e24bb73c57a42c61dd2300b5d911.zip
r18821: Correctly name dfs_AddStdRootForced() test.
Guenther (This used to be commit 0ee08738697bee4fbeebb1e45211d193a6dc7abb)
-rw-r--r--source4/torture/rpc/dfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 91c76724d1..bcd0370216 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -361,13 +361,13 @@ static BOOL test_EnumEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *
}
-static BOOL test_StdRootForced(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *host, const char *sharename)
+static BOOL test_AddStdRootForced(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *host, const char *sharename)
{
NTSTATUS status;
struct dfs_AddStdRootForced r;
enum dfs_ManagerVersion version;
- printf("Testing StdRootForced\n");
+ printf("Testing AddStdRootForced\n");
if (!test_GetManagerVersion(p, mem_ctx, &version)) {
return False;
@@ -413,7 +413,6 @@ static BOOL test_RemoveStdRoot(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const
return True;
}
-
static BOOL test_AddStdRoot(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *host, const char *sharename)
{
NTSTATUS status;
@@ -471,7 +470,7 @@ static BOOL test_StdRoot(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char
ret &= test_NetShareAdd(mem_ctx, host, sharename, path);
ret &= test_AddStdRoot(p, mem_ctx, host, sharename);
ret &= test_RemoveStdRoot(p, mem_ctx, host, sharename);
- ret &= test_StdRootForced(p, mem_ctx, host, sharename);
+ ret &= test_AddStdRootForced(p, mem_ctx, host, sharename);
ret &= test_NetShareDel(mem_ctx, host, sharename);
ret &= test_DeleteDir(cli, dir);