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:
parent
05d10eba1f
commit
4c12490730
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user