r17338: Add support for multiple shares test inspired by Samba 4 torture's --unclist...
[ira/wip.git] / source3 / torture / denytest.c
index 291a4035af79589d8507874cb0cb178486a5067b..d82376088f64f73f5cbf0af8140b0d55a7f21254 100644 (file)
@@ -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;
        }