git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d9c7e
)
r20311: Check one more samba3 error path for t2mkdir
author
Volker Lendecke
<vlendec@samba.org>
Thu, 21 Dec 2006 22:16:16 +0000
(22:16 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:29:37 +0000
(14:29 -0500)
source/torture/raw/mkdir.c
patch
|
blob
|
history
diff --git
a/source/torture/raw/mkdir.c
b/source/torture/raw/mkdir.c
index be21ff8ea3d22af017ba54e2c713e1d03eec47d6..6d9bcbcdba045977a39016a734473e7ced7d36f4 100644
(file)
--- a/
source/torture/raw/mkdir.c
+++ b/
source/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 */