From b5a932e13a373d99ceecec47b46c7c433ad0c607 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 21 Dec 2006 22:16:16 +0000 Subject: r20311: Check one more samba3 error path for t2mkdir (This used to be commit 0f018cca6f70cb44ab436b3a66edb01e57351eaf) --- source4/torture/raw/mkdir.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/torture/raw') 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 */ -- cgit