svn commit: samba r18807 - in branches/SAMBA_4_0/source/torture/basic: .

tridge at samba.org tridge at samba.org
Fri Sep 22 03:50:16 GMT 2006


Author: tridge
Date: 2006-09-22 03:50:15 +0000 (Fri, 22 Sep 2006)
New Revision: 18807

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18807

Log:

don't overtax the imaginations of servers that can't do mkdir on \\dirname\\

Modified:
   branches/SAMBA_4_0/source/torture/basic/charset.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/charset.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/charset.c	2006-09-22 03:49:40 UTC (rev 18806)
+++ branches/SAMBA_4_0/source/torture/basic/charset.c	2006-09-22 03:50:15 UTC (rev 18807)
@@ -26,7 +26,7 @@
 #include "libcli/libcli.h"
 #include "torture/util.h"
 
-#define BASEDIR "\\chartest\\"
+#define BASEDIR "\\chartest"
 
 /* 
    open a file using a set of unicode code points for the name
@@ -62,7 +62,7 @@
 		return NT_STATUS_NO_MEMORY;
 	}
 
-	fname2 = talloc_asprintf(ucs_name, "%s%s", BASEDIR, fname);
+	fname2 = talloc_asprintf(ucs_name, "%s\\%s", BASEDIR, fname);
 	if (!fname2) {
 		talloc_free(ucs_name);
 		return NT_STATUS_NO_MEMORY;



More information about the samba-cvs mailing list