summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-02-08 16:12:57 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-02-08 16:12:57 +1100
commit7f7067b64149f6f56c95adb9d964fada020a4e47 (patch)
treebd4e896f6a9e41eb706aefed2ce2d54d043cdffa
parentf0c69bc16f341a968c7f2a3b35f7e21770ed5c09 (diff)
downloadmongo-7f7067b64149f6f56c95adb9d964fada020a4e47.tar.gz
Don't fail tests if libtool munges the utility executable name (to 'lt-wt').
-rw-r--r--test/suite/test_util07.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite/test_util07.py b/test/suite/test_util07.py
index 5865977d6f2..bd7449d25a9 100644
--- a/test/suite/test_util07.py
+++ b/test/suite/test_util07.py
@@ -76,7 +76,7 @@ class test_util07(wttest.WiredTigerTestCase, suite_subprocess):
errfile = "readerr.txt"
self.runWt(["read", 'table:' + self.tablename, 'NoMatch'], outfilename=outfile, errfilename=errfile)
self.check_empty_file(outfile)
- self.check_file_content(errfile, 'wt: NoMatch: not found\n')
+ self.check_file_contains(errfile, 'NoMatch: not found\n')
def test_read_populated(self):
"""
@@ -91,7 +91,7 @@ class test_util07(wttest.WiredTigerTestCase, suite_subprocess):
self.check_empty_file(errfile)
self.runWt(["read", 'table:' + self.tablename, 'key49'], outfilename=outfile, errfilename=errfile)
self.check_empty_file(outfile)
- self.check_file_content(errfile, 'wt: key49: not found\n')
+ self.check_file_contains(errfile, 'key49: not found\n')
if __name__ == '__main__':