summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-04-16 10:04:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:47 -0500
commit92573a7176db2961a242e45cd0a0b42e68c47575 (patch)
treec4aad639b071f4c9bc989c2326ca26dbb1574a52
parent43b16443de76bb8bc11be811ac515374337970bd (diff)
downloadsamba-92573a7176db2961a242e45cd0a0b42e68c47575.tar.gz
samba-92573a7176db2961a242e45cd0a0b42e68c47575.tar.bz2
samba-92573a7176db2961a242e45cd0a0b42e68c47575.zip
r22256: Use shorter directory names for tests.
(This used to be commit cddf4d95aa88f4653c2b5da7bdfa4d03bdae0bbc)
-rw-r--r--source4/torture/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/util.c b/source4/torture/util.c
index 812ae7574d..11cb81ca06 100644
--- a/source4/torture/util.c
+++ b/source4/torture/util.c
@@ -33,7 +33,7 @@ _PUBLIC_ NTSTATUS torture_temp_dir(TALLOC_CTX *mem_ctx, const char *prefix,
{
const char *basedir = lp_parm_string(-1, "torture", "basedir");
if (basedir == NULL) basedir = ".";
- *tempdir = talloc_asprintf(mem_ctx, "%s/torture.tmp-%s.XXXXXX",
+ *tempdir = talloc_asprintf(mem_ctx, "%s/%s.XXXXXX",
basedir, prefix);
if (mkdtemp(*tempdir) == NULL)