diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-08-14 22:00:27 -0400 |
---|---|---|
committer | David Hows <howsdav@gmail.com> | 2016-08-15 12:00:27 +1000 |
commit | 47b1379bda4cdcc2edc195ac5ca64dbdee99915d (patch) | |
tree | 7da62d57545412f602a3821adfbcbc7f243b18bf /test | |
parent | 5c6a3c1e7be7a23eebd731ff5a3e70a97c051ff0 (diff) | |
download | mongo-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.py | 2 |
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) |