summaryrefslogtreecommitdiff
path: root/source3/torture/denytest.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-07-31 09:41:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:26 -0500
commit5fbe298b5ad781670715c63e248131498d73e7c6 (patch)
tree8976d8842971fcbc5a426b2cbcbd17a9d8a1da9c /source3/torture/denytest.c
parent175ac9f7dbf3dfa00a4da0447849241cc7c8d50c (diff)
downloadsamba-5fbe298b5ad781670715c63e248131498d73e7c6.tar.gz
samba-5fbe298b5ad781670715c63e248131498d73e7c6.tar.bz2
samba-5fbe298b5ad781670715c63e248131498d73e7c6.zip
r17338: Add support for multiple shares test inspired by Samba 4 torture's --unclist option. Triggered by -b sharelist_file option.
Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?) (This used to be commit c9f8fafad698c5bc75df86ee8b611104d3fb65bc)
Diffstat (limited to 'source3/torture/denytest.c')
-rw-r--r--source3/torture/denytest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/denytest.c b/source3/torture/denytest.c
index 291a4035af..d82376088f 100644
--- a/source3/torture/denytest.c
+++ b/source3/torture/denytest.c
@@ -1412,7 +1412,7 @@ BOOL torture_denytest1(int dummy)
BOOL correct = True;
const char *fnames[2] = {"\\denytest1.dat", "\\denytest1.exe"};
- if (!torture_open_connection(&cli1)) {
+ if (!torture_open_connection(&cli1, 0)) {
return False;
}
@@ -1498,7 +1498,7 @@ BOOL torture_denytest2(int dummy)
BOOL correct = True;
const char *fnames[2] = {"\\denytest2.dat", "\\denytest2.exe"};
- if (!torture_open_connection(&cli1) || !torture_open_connection(&cli2)) {
+ if (!torture_open_connection(&cli1, 0) || !torture_open_connection(&cli2, 1)) {
return False;
}