summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 21:15:59 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 21:15:59 +0100
commit99e637175c0dee050b9c39c124ab1fab8ad7976d (patch)
tree60f9f6557297031d293e490a12abcde33c4350fa /source4/torture
parentc023828962d7050668c38129170121cc50cd300f (diff)
parentf1389a39508735bd3133bac9da5eee3c73342d1f (diff)
downloadsamba-99e637175c0dee050b9c39c124ab1fab8ad7976d.tar.gz
samba-99e637175c0dee050b9c39c124ab1fab8ad7976d.tar.bz2
samba-99e637175c0dee050b9c39c124ab1fab8ad7976d.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/streams.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index 4e2a204cb6..ba74530c6f 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);