diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-09-24 17:17:41 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-09-24 18:10:22 -0700 |
commit | 76835f103ec65bb00ff3ca11015176ea2f5ecb06 (patch) | |
tree | 0a15f89e5aa16ae55251ccf0d6640be6a27edc51 /source4/torture | |
parent | 094afe614b6282eae47c31ee6ad015a4b0ed80ba (diff) | |
download | samba-76835f103ec65bb00ff3ca11015176ea2f5ecb06.tar.gz samba-76835f103ec65bb00ff3ca11015176ea2f5ecb06.tar.bz2 samba-76835f103ec65bb00ff3ca11015176ea2f5ecb06.zip |
fixed setpathinfo in gentest to not zero the filename/handle
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/gentest.c | 7 |
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); |