summaryrefslogtreecommitdiff
path: root/source4/torture/raw/chkpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw/chkpath.c')
-rw-r--r--source4/torture/raw/chkpath.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c
index 72ddf3b5a2..1b24f1c02f 100644
--- 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);