mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
r20474: Skip the delete-on-close test on a non-empty directory in raw-unlink for
Samba3. This is a known deficiency also taken care of in the base-delete test. Volker
This commit is contained in:
parent
8d80629c5d
commit
6b91bb93fa
@ -252,6 +252,12 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
|
||||
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
|
||||
|
||||
|
||||
if (!lp_parm_bool(-1, "torture", "samba3", False)) {
|
||||
|
||||
/*
|
||||
* Known deficiency, also skipped in base-delete.
|
||||
*/
|
||||
|
||||
printf("Testing with non-empty directory delete_on_close\n");
|
||||
status = create_directory_handle(cli->tree, dname, &fnum);
|
||||
CHECK_STATUS(status, NT_STATUS_OK);
|
||||
@ -280,6 +286,7 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
|
||||
|
||||
status = smb_raw_rmdir(cli->tree, &dio);
|
||||
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
|
||||
}
|
||||
|
||||
printf("Testing open dir with delete_on_close\n");
|
||||
status = create_directory_handle(cli->tree, dname, &fnum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user