summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-21 22:16:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:37 -0500
commitb5a932e13a373d99ceecec47b46c7c433ad0c607 (patch)
tree5cef63767d43ec68c41734240dc0dad2617eaab3
parentf38b6db8b16317a3612b911621843a5afb49f5da (diff)
downloadsamba-b5a932e13a373d99ceecec47b46c7c433ad0c607.tar.gz
samba-b5a932e13a373d99ceecec47b46c7c433ad0c607.tar.bz2
samba-b5a932e13a373d99ceecec47b46c7c433ad0c607.zip
r20311: Check one more samba3 error path for t2mkdir
(This used to be commit 0f018cca6f70cb44ab436b3a66edb01e57351eaf)
-rw-r--r--source4/torture/raw/mkdir.c6
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 */