summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-22 03:50:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:13 -0500
commit4f913d91cb75377555d2858becde0f34ab7f6f49 (patch)
treeab237d923a7b18ea0d128d43c8b7ae7c58d2ee75 /source4/torture/basic
parentfb1d60363e2a08538638cd863ff264ea57125e93 (diff)
downloadsamba-4f913d91cb75377555d2858becde0f34ab7f6f49.tar.gz
samba-4f913d91cb75377555d2858becde0f34ab7f6f49.tar.bz2
samba-4f913d91cb75377555d2858becde0f34ab7f6f49.zip
r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\
(This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index 44875c6b8f..d7e53ae92a 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -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 @@ static NTSTATUS unicode_open(struct smbcli_tree *tree,
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;