CHECK_STATUS(status, NT_STATUS_OK);
ret &= check_stream_list(tree, tctx, fname, 4, four,
io.smb2.out.file.handle);
-
+ CHECK_VALUE(ret, true);
smb2_util_close(tree, h1);
smb2_util_close(tree, h2);
smb2_util_close(tree, h3);
ret &= check_stream_list(tree, tctx, fname, 4, four,
io.smb2.out.file.handle);
+ CHECK_VALUE(ret, true);
for (i=0; i < 4; i++) {
NTTIME write_time;
uint64_t stream_size;
ret &= check_stream_list(tree,tctx, fname, 5, five2,
io.smb2.out.file.handle);
+ CHECK_VALUE(ret, true);
ZERO_STRUCT(sinfo);
sinfo.rename_information.level = RAW_SFILEINFO_RENAME_INFORMATION;
sinfo.rename_information.in.file.handle = h1;
ret &= check_stream_list(tree,tctx, fname, 5, five2,
io.smb2.out.file.handle);
+ CHECK_VALUE(ret, true);
/* TODO: we need to test more rename combinations */
done:
test_basefile_rename_with_open_stream);
suite->description = talloc_strdup(suite, "SMB2-STREAM tests");
-
return suite;
}