git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d10eb
)
Added one more test for "dirname\."
author
Jeremy Allison
<jra@samba.org>
Fri, 2 Apr 2004 18:59:38 +0000
(18:59 +0000)
committer
Jeremy Allison
<jra@samba.org>
Fri, 2 Apr 2004 18:59:38 +0000
(18:59 +0000)
Jeremy.
(This used to be commit
a7ca9620d50aa33e7125d280bc096f1a42438141
)
source4/torture/raw/chkpath.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/chkpath.c
b/source4/torture/raw/chkpath.c
index 72ddf3b5a2eed28d65c0670e79f37b8cf8e2623b..1b24f1c02f06a421ec4754d29bb8331f139c269a 100644
(file)
--- a/
source4/torture/raw/chkpath.c
+++ b/
source4/torture/raw/chkpath.c
@@
-95,6
+95,11
@@
static BOOL test_chkpath(struct cli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_raw_chkpath(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_SYNTAX_BAD);
+ io.in.path = BASEDIR "\\.";
+ printf("testing %s\n", io.in.path);
+ status = smb_raw_chkpath(cli->tree, &io);
+ CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_INVALID);
+
io.in.path = BASEDIR "\\..";
printf("testing %s\n", io.in.path);
status = smb_raw_chkpath(cli->tree, &io);