summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/getinfo.c8
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);