[SCM] Samba Shared Repository - branch master updated -
f1389a39508735bd3133bac9da5eee3c73342d1f
Jeremy Allison
jra at samba.org
Mon Dec 22 19:59:54 GMT 2008
The branch, master has been updated
via f1389a39508735bd3133bac9da5eee3c73342d1f (commit)
from 5aadfe29f07687fe47bcb23b36313e4fc6ada6ee (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f1389a39508735bd3133bac9da5eee3c73342d1f
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 22 11:58:38 2008 -0800
Make it clearer when RAW-STREAMS is failing (don't always print names).
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source4/torture/raw/streams.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index 4e2a204..ba74530 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -996,14 +996,16 @@ static bool test_stream_names2(struct torture_context *tctx,
break;
}
- printf("(%s) %s:Stream%c0x%02X:$DATA%s => expected[%s]\n",
- __location__, fname, isprint(i)?(char)i:' ', i,
- isprint(i)?"":" (not printable)",
- nt_errstr(expected));
io.ntcreatex.in.open_disposition = NTCREATEX_DISP_OPEN;
io.ntcreatex.in.fname = path;
status = smb_raw_open(cli->tree, mem_ctx, &io);
+ if (!NT_STATUS_EQUAL(status, expected)) {
+ printf("(%s) %s:Stream%c0x%02X:$DATA%s => expected[%s]\n",
+ __location__, fname, isprint(i)?(char)i:' ', i,
+ isprint(i)?"":" (not printable)",
+ nt_errstr(expected));
+ }
CHECK_STATUS(status, expected);
talloc_free(path);
--
Samba Shared Repository
More information about the samba-cvs
mailing list