diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-28 14:42:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:02 -0500 |
commit | 0e6773525fa9d3fe9b7559ab4067e088f8a934d8 (patch) | |
tree | fb9498c93995015771ba6dfd27ffcaa655f698a9 /source4/torture/util.c | |
parent | 8277256cee6328a130e3a714579a4bc766d66b9b (diff) | |
download | samba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.tar.gz samba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.tar.bz2 samba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.zip |
r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
Diffstat (limited to 'source4/torture/util.c')
-rw-r--r-- | source4/torture/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/util.c b/source4/torture/util.c index 119a3c1730..f6287e34d6 100644 --- a/source4/torture/util.c +++ b/source4/torture/util.c @@ -31,9 +31,7 @@ _PUBLIC_ NTSTATUS torture_temp_dir(struct torture_context *tctx, const char *prefix, char **tempdir) { - const char *basedir = torture_setting_string(tctx, "basedir", "."); - - *tempdir = talloc_asprintf(tctx, "%s/%s.XXXXXX", basedir, prefix); + *tempdir = talloc_asprintf(tctx, "%s/%s.XXXXXX", tctx->outputdir, prefix); if (mkdtemp(*tempdir) == NULL) return NT_STATUS_UNSUCCESSFUL; |