summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-08-14 22:00:27 -0400
committerDavid Hows <howsdav@gmail.com>2016-08-15 12:00:27 +1000
commit47b1379bda4cdcc2edc195ac5ca64dbdee99915d (patch)
tree7da62d57545412f602a3821adfbcbc7f243b18bf /test
parent5c6a3c1e7be7a23eebd731ff5a3e70a97c051ff0 (diff)
downloadmongo-47b1379bda4cdcc2edc195ac5ca64dbdee99915d.tar.gz
WT-2832 Python test uses hard-coded temporary directory (#2951)
Instead of using "/tmp" to test absolute paths, get an absolute path into the local working directory.
Diffstat (limited to 'test')
-rw-r--r--test/suite/test_config04.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite/test_config04.py b/test/suite/test_config04.py
index dffa7479f1b..204aa7e27d5 100644
--- a/test/suite/test_config04.py
+++ b/test/suite/test_config04.py
@@ -197,7 +197,7 @@ class test_config04(wttest.WiredTigerTestCase):
# Test an absolute path directory.
if os.name == 'posix':
- logdir = '/tmp/logdir'
+ logdir = os.path.abspath('absolutelogdir')
os.mkdir(logdir)
confstr = 'path=' + logdir
self.common_log_test(confstr, logdir)