diff options
author | Gregor Beck <gbeck@sernet.de> | 2012-03-06 11:48:52 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-07 10:57:27 +0100 |
commit | ee6cd3b84e712e754bc5c6b7b8fdf1e2f170a0f7 (patch) | |
tree | 8bbae982b9eb3fe651b661ec11463dd5a4a56e3d | |
parent | aa993a89f0fc3be18da5d4c342447dacf88e65d9 (diff) | |
download | samba-ee6cd3b84e712e754bc5c6b7b8fdf1e2f170a0f7.tar.gz samba-ee6cd3b84e712e754bc5c6b7b8fdf1e2f170a0f7.tar.bz2 samba-ee6cd3b84e712e754bc5c6b7b8fdf1e2f170a0f7.zip |
s4:torture: smb2.getinfo test return status of stream creation
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source4/torture/smb2/getinfo.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c index 2e3019031f..16db71563d 100644 --- a/source4/torture/smb2/getinfo.c +++ b/source4/torture/smb2/getinfo.c @@ -196,13 +196,17 @@ bool torture_smb2_getinfo(struct torture_context *torture) torture_assert_ntstatus_ok(torture, status, "setup complex file " FNAME); - torture_setup_complex_file(tree, FNAME ":streamtwo"); + status = torture_setup_complex_file(tree, FNAME ":streamtwo"); + torture_assert_ntstatus_ok(torture, status, + "setup complex file " FNAME ":streamtwo"); status = torture_setup_complex_dir(tree, DNAME); torture_assert_ntstatus_ok(torture, status, "setup complex dir " DNAME); - torture_setup_complex_file(tree, DNAME ":streamtwo"); + status = torture_setup_complex_file(tree, DNAME ":streamtwo"); + torture_assert_ntstatus_ok(torture, status, + "setup complex dir " DNAME ":streamtwo"); ret &= torture_smb2_fileinfo(torture, tree); ret &= torture_smb2_fsinfo(torture, tree); |