1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

Added one more test for "dirname\."

Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)
This commit is contained in:
Jeremy Allison 2004-04-02 18:59:38 +00:00
parent 05d10eba1f
commit 4c12490730

View File

@ -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);