summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSusan LoVerso <sue@mongodb.com>2016-03-14 13:42:07 -0400
committerSusan LoVerso <sue@mongodb.com>2016-03-14 13:42:07 -0400
commite3c5559f53c270f1161b1564da37b4f50f7bdf57 (patch)
treed60cef2a9ec36b07b7619779d185438f2e64e9a8 /test
parent5c93381d6065054642daef03b1e0a86eeb5573fd (diff)
parentb8868e9daa42da75b554f0fc4af8ae447b07ef1e (diff)
downloadmongo-e3c5559f53c270f1161b1564da37b4f50f7bdf57.tar.gz
Merge branch 'develop' into wt-2463
Diffstat (limited to 'test')
-rw-r--r--test/suite/helper.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/suite/helper.py b/test/suite/helper.py
index 3895402a0d6..f85d708880f 100644
--- a/test/suite/helper.py
+++ b/test/suite/helper.py
@@ -107,7 +107,10 @@ def copy_wiredtiger_home(olddir, newdir, aligned=True):
for fname in os.listdir(olddir):
fullname = os.path.join(olddir, fname)
# Skip lock file, on Windows it is locked.
- if os.path.isfile(fullname) and "WiredTiger.lock" not in fullname:
+ # Skip temporary log files.
+ if os.path.isfile(fullname) and "WiredTiger.lock" not in fullname and \
+ "WiredTigerTmplog" not in fullname and \
+ "WiredTigerPreplog" not in fullname:
# Use a dd command that does not align on a block boundary.
if aligned:
shutil.copy(fullname, newdir)