diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/mkdir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c index be21ff8ea3..6d9bcbcdba 100644 --- a/source4/torture/raw/mkdir.c +++ b/source4/torture/raw/mkdir.c @@ -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 */ |