1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r20311: Check one more samba3 error path for t2mkdir

(This used to be commit 0f018cca6f)
This commit is contained in:
Volker Lendecke 2006-12-21 22:16:16 +00:00 committed by Gerald (Jerry) Carter
parent f38b6db8b1
commit b5a932e13a

View File

@ -106,6 +106,12 @@ static BOOL test_mkdir(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_raw_rmdir(cli->tree, &rd);
CHECK_STATUS(status, NT_STATUS_OK);
printf("testing t2mkdir bad path\n");
md.t2mkdir.in.path = talloc_asprintf(mem_ctx, "%s\\bad_path\\bad_path",
BASEDIR);
status = smb_raw_mkdir(cli->tree, &md);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_NOT_FOUND);
printf("testing t2mkdir with EAs\n");
/* with EAs */