}
}
- status = torture_setup_simple_file(torture, tree, FNAME);
+ status = torture_setup_complex_file(torture, tree, FNAME);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_notify_recv(req, torture, &n);
}
}
- status = torture_setup_simple_file(torture, tree, FNAME);
+ status = torture_setup_complex_file(torture, tree, FNAME);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_notify_recv(req, torture, &n);
}
}
- status = torture_setup_simple_file(torture, tree, FNAME);
+ status = torture_setup_complex_file(torture, tree, FNAME);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_notify_recv(req, torture, &n);
}
}
- status = torture_setup_simple_file(torture, tree, FNAME);
+ status = torture_setup_complex_file(torture, tree, FNAME);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_notify_recv(req, torture, &n);
}
}
- status = torture_setup_simple_file(torture, tree, FNAME);
+ status = torture_setup_complex_file(torture, tree, FNAME);
CHECK_STATUS(status, NT_STATUS_OK);
status = smb2_notify_recv(req, torture, &n);
sinfo.basic_info.in.create_time = 0;
torture_comment(torture, "Testing set file create time\n");
NOTIFY_MASK_TEST("Testing set file create time",
- smb2_create_simple_file(torture, tree2,
+ smb2_create_complex_file(torture, tree2,
BASEDIR_MSK "\\tname1", &h2);,
smb2_setinfo_file(tree2, &sinfo);,
(smb2_util_close(tree2, h2),
sinfo.basic_info.in.access_time = 0;
torture_comment(torture, "Testing set file access time\n");
NOTIFY_MASK_TEST("Testing set file access time",
- smb2_create_simple_file(torture,
+ smb2_create_complex_file(torture,
tree2,
BASEDIR_MSK "\\tname1",
&h2);,
sinfo.basic_info.in.change_time = 0;
torture_comment(torture, "Testing set file change time\n");
NOTIFY_MASK_TEST("Testing set file change time",
- smb2_create_simple_file(torture,
+ smb2_create_complex_file(torture,
tree2,
BASEDIR_MSK "\\tname1",
&h2);,
torture_comment(torture, "Testing write\n");
NOTIFY_MASK_TEST("Testing write",
- smb2_create_simple_file(torture,
+ smb2_create_complex_file(torture,
tree2,
BASEDIR_MSK "\\tname1",
&h2);,
{
struct torture_suite *suite = torture_suite_create(ctx, "notify");
-if (1) {
torture_suite_add_1smb2_test(suite, "valid-req", test_valid_request);
+if (0) {
torture_suite_add_1smb2_test(suite, "tcon", torture_smb2_notify_tcon);
torture_suite_add_2smb2_test(suite, "dir", torture_smb2_notify_dir);
torture_suite_add_2smb2_test(suite, "mask", torture_smb2_notify_mask);
torture_suite_add_1smb2_test(suite, "tdis", torture_smb2_notify_tree_disconnect);
torture_suite_add_1smb2_test(suite, "tdis1", torture_smb2_notify_tree_disconnect_1);
-}
-if (0) {
torture_suite_add_2smb2_test(suite, "mask-change", torture_smb2_notify_mask_change);
-}
-if (1) {
torture_suite_add_1smb2_test(suite, "close", torture_smb2_notify_close);
torture_suite_add_1smb2_test(suite, "logoff", torture_smb2_notify_ulogoff);
torture_suite_add_1smb2_test(suite, "session-reconnect", torture_smb2_notify_session_reconnect);