svn commit: samba r3199 - in branches/SAMBA_4_0/source/torture/raw:
.
tridge at samba.org
tridge at samba.org
Mon Oct 25 07:01:45 GMT 2004
Author: tridge
Date: 2004-10-25 07:01:45 +0000 (Mon, 25 Oct 2004)
New Revision: 3199
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture/raw&rev=3199&nolog=1
Log:
added a couple more test paths to RAW-CHKPATH
Modified:
branches/SAMBA_4_0/source/torture/raw/chkpath.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/chkpath.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/chkpath.c 2004-10-25 06:23:28 UTC (rev 3198)
+++ branches/SAMBA_4_0/source/torture/raw/chkpath.c 2004-10-25 07:01:45 UTC (rev 3199)
@@ -172,6 +172,16 @@
status = smb_raw_chkpath(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_NOT_FOUND);
+ io.in.path = "..\\..\\..";
+ printf("testing %s\n", io.in.path);
+ status = smb_raw_chkpath(cli->tree, &io);
+ CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_SYNTAX_BAD);
+
+ io.in.path = "\\..";
+ printf("testing %s\n", io.in.path);
+ status = smb_raw_chkpath(cli->tree, &io);
+ CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_SYNTAX_BAD);
+
io.in.path = "\\.\\\\\\\\\\\\xxx";
printf("testing %s\n", io.in.path);
status = smb_raw_chkpath(cli->tree, &io);
More information about the samba-cvs
mailing list