summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-21 02:41:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:08 -0500
commit71f3672048578a0f8f869c8c011342975bfa8aa1 (patch)
treed7bb7ef3b16e9306ceae21e75970453f16c309f1
parent298f487fae6413d55eeb766a3fe519ff5c195337 (diff)
downloadsamba-71f3672048578a0f8f869c8c011342975bfa8aa1.tar.gz
samba-71f3672048578a0f8f869c8c011342975bfa8aa1.tar.bz2
samba-71f3672048578a0f8f869c8c011342975bfa8aa1.zip
r18763: Removing old dfs_Add test, will be replaced with another one soon.
Guenther (This used to be commit eca9c200849d02006c171b7fe87b85054c26b7a5)
-rw-r--r--source4/torture/rpc/dfs.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 3c6548881b..defef8b100 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -217,38 +217,6 @@ static BOOL test_EnumEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, const char *
return ret;
}
-#if 0
-static BOOL test_Add(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
-{
- NTSTATUS status;
- struct dfs_Add add;
- struct dfs_Remove rem;
-
- add.in.path = "\\\\win2003\\2nd root\\test";
- add.in.server = "win2003";
- add.in.share = "e$";
- add.in.comment = "a test comment";
- add.in.flags = 1;
-
- status = dcerpc_dfs_Add(p, mem_ctx, &add);
- if (!NT_STATUS_IS_OK(status)) {
- printf("Add failed - %s\n", nt_errstr(status));
- return False;
- }
-
- rem.in.path = add.in.path;
- rem.in.server = add.in.server;
- rem.in.share = add.in.share;
-
- status = dcerpc_dfs_Remove(p, mem_ctx, &rem);
- if (!NT_STATUS_IS_OK(status)) {
- printf("Add failed - %s\n", nt_errstr(status));
- return False;
- }
-
- return True;
-}
-#endif
BOOL torture_rpc_dfs(struct torture_context *torture)
{
@@ -269,9 +237,6 @@ BOOL torture_rpc_dfs(struct torture_context *torture)
}
ret &= test_GetManagerVersion(p, mem_ctx, &version);
-#if 0
- ret &= test_Add(p, mem_ctx);
-#endif
ret &= test_Enum(p, mem_ctx);
ret &= test_EnumEx(p, mem_ctx, host);