svn commit: samba r16761 - in
branches/SAMBA_4_0/source/torture/raw: .
jra at samba.org
jra at samba.org
Sun Jul 2 21:05:19 GMT 2006
Author: jra
Date: 2006-07-02 21:05:19 +0000 (Sun, 02 Jul 2006)
New Revision: 16761
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16761
Log:
Added additional NTSTATUS and DOS error test for "."
This confirms a theory of mine...
Added RAW-SAMBA3BADPATH to selectable options.
Jeremy.
Modified:
branches/SAMBA_4_0/source/torture/raw/raw.c
branches/SAMBA_4_0/source/torture/raw/samba3misc.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/raw.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/raw.c 2006-07-02 20:40:53 UTC (rev 16760)
+++ branches/SAMBA_4_0/source/torture/raw/raw.c 2006-07-02 21:05:19 UTC (rev 16761)
@@ -54,6 +54,7 @@
register_torture_op("RAW-COMPOSITE", torture_raw_composite);
register_torture_op("RAW-SAMBA3HIDE", torture_samba3_hide);
register_torture_op("RAW-SAMBA3CHECKFSP", torture_samba3_checkfsp);
+ register_torture_op("RAW-SAMBA3BADPATH", torture_samba3_badpath);
register_torture_op("SCAN-EAMAX", torture_max_eas);
return NT_STATUS_OK;
Modified: branches/SAMBA_4_0/source/torture/raw/samba3misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/samba3misc.c 2006-07-02 20:40:53 UTC (rev 16760)
+++ branches/SAMBA_4_0/source/torture/raw/samba3misc.c 2006-07-02 21:05:19 UTC (rev 16761)
@@ -253,6 +253,11 @@
status = smbcli_chkpath(cli_dos->tree, "..");
CHECK_STATUS(status, NT_STATUS_DOS(ERRDOS, ERRinvalidpath));
+ status = smbcli_chkpath(cli_nt->tree, ".");
+ CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_INVALID);
+ status = smbcli_chkpath(cli_dos->tree, ".");
+ CHECK_STATUS(status, NT_STATUS_DOS(ERRDOS, ERRbadpath));
+
status = smbcli_chkpath(cli_nt->tree, "\t");
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_INVALID);
status = smbcli_chkpath(cli_dos->tree, "\t");
More information about the samba-cvs
mailing list