diff options
author | Jeremy Allison <jra@samba.org> | 2004-04-02 18:59:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-04-02 18:59:38 +0000 |
commit | 4c12490730de84d63bf654f97cbc17ffcb1d25f5 (patch) | |
tree | 8e5270e78fdacaad09a031bc7f7c4d27fff172eb /source4/torture/raw | |
parent | 05d10eba1f6142219638bf9b859d07b5bb175f72 (diff) | |
download | samba-4c12490730de84d63bf654f97cbc17ffcb1d25f5.tar.gz samba-4c12490730de84d63bf654f97cbc17ffcb1d25f5.tar.bz2 samba-4c12490730de84d63bf654f97cbc17ffcb1d25f5.zip |
Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/chkpath.c | 5 |
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); |