summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/gentest.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 1b8f97596b..fecdfda56e 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -1187,7 +1187,6 @@ static bool compare_status(NTSTATUS status1, NTSTATUS status2)
s = talloc_asprintf(current_op.mem_ctx, "%s:%s",
nt_errstr(status1),
nt_errstr(status2));
- printf("pattern: %s\n", s);
if (ignore_pattern(s)) {
return true;
}
@@ -2393,9 +2392,8 @@ static bool handler_smb_spathinfo(int instance)
union smb_setfileinfo parm[NSERVERS];
NTSTATUS status[NSERVERS];
- parm[0].generic.in.file.path = gen_fname_open(instance);
-
gen_setfileinfo(instance, &parm[0]);
+ parm[0].generic.in.file.path = gen_fname_open(instance);
GEN_COPY_PARM;
@@ -2764,9 +2762,8 @@ static bool handler_smb2_sfileinfo(int instance)
union smb_setfileinfo parm[NSERVERS];
NTSTATUS status[NSERVERS];
- parm[0].generic.in.file.fnum = gen_fnum(instance);
-
gen_setfileinfo(instance, &parm[0]);
+ parm[0].generic.in.file.fnum = gen_fnum(instance);
GEN_COPY_PARM;
GEN_SET_FNUM_SMB2(generic.in.file.handle);