diff options
author | Don Anderson <dda@ddanderson.com> | 2015-07-08 15:08:42 -0400 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2015-07-08 15:08:42 -0400 |
commit | 718f244fdd07c82e5390960af3a0c0155ccba390 (patch) | |
tree | daffe46c6cfae87b32373c599c51a8e6db80d7f2 /test/suite/helper.py | |
parent | ca23ba18c144520c8ae4938181d6350606a2646d (diff) | |
download | mongo-718f244fdd07c82e5390960af3a0c0155ccba390.tar.gz |
SERVER-18899 followup to abstract copying a WT home directory into a function,
and create two callers to the function.
Diffstat (limited to 'test/suite/helper.py')
-rw-r--r-- | test/suite/helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite/helper.py b/test/suite/helper.py index dce5312b966..0145d4718a5 100644 --- a/test/suite/helper.py +++ b/test/suite/helper.py @@ -97,11 +97,11 @@ def confirm_empty(self, uri): cursor.close() # copy a WT home directory -def copy_live_wiredtiger_home(olddir, newdir, aligned=True): +def copy_wiredtiger_home(olddir, newdir, aligned=True): # unaligned copy requires 'dd', which may not be available on Windows if not aligned and os.name == "nt": raise AssertionError( - 'copy_live_wiredtiger_home: unaligned copy impossible on Windows') + 'copy_wiredtiger_home: unaligned copy impossible on Windows') shutil.rmtree(newdir, ignore_errors=True) os.mkdir(newdir) for fname in os.listdir(olddir): |