summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-04 03:38:46 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-04 03:38:46 +0000
commitd8cbe76b868eb6f2b3876fa540e0847bd2d4f9d7 (patch)
tree916a6642bb57c169aca82ac14bd31154fdc82366 /source4/torture
parent994301bfec372f0b929a61425fc1eb180d16cbb1 (diff)
downloadsamba-d8cbe76b868eb6f2b3876fa540e0847bd2d4f9d7.tar.gz
samba-d8cbe76b868eb6f2b3876fa540e0847bd2d4f9d7.tar.bz2
samba-d8cbe76b868eb6f2b3876fa540e0847bd2d4f9d7.zip
added support for fragmented sends
(This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/echo.c7
-rw-r--r--source4/torture/torture.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 834eb1f678..1d034c48df 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -126,7 +126,7 @@ static BOOL test_sinkdata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
int i;
NTSTATUS status;
char *data_in;
- int len = 100;
+ int len = 200000;
printf("\nTesting SinkData\n");
@@ -160,11 +160,6 @@ BOOL torture_rpc_echo(int dummy)
return False;
}
- if (!test_sourcedata(p, mem_ctx)) {
- ret = False;
- }
- return ret;
-
if (!test_addone(p, mem_ctx)) {
ret = False;
}
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 8dc82242a2..bb5741c54f 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -157,7 +157,8 @@ NTSTATUS torture_rpc_connection(struct dcerpc_pipe **p, const char *pipe_name)
STD_RIGHT_READ_CONTROL_ACCESS |
SA_RIGHT_FILE_WRITE_ATTRIBUTES |
SA_RIGHT_FILE_WRITE_EA |
- GENERIC_RIGHTS_FILE_READ;
+ GENERIC_RIGHTS_FILE_READ |
+ GENERIC_RIGHTS_FILE_WRITE;
open_parms.ntcreatex.in.file_attr = 0;
open_parms.ntcreatex.in.alloc_size = 0;
open_parms.ntcreatex.in.share_access =