summaryrefslogtreecommitdiff
path: root/test/suite
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2014-12-15 11:54:15 -0500
committerDon Anderson <dda@ddanderson.com>2014-12-15 11:54:15 -0500
commitcedf8cfe69bf964629aab498feb20a0b1ab77bc0 (patch)
tree35122ff88a28fec114b6b720c6a0882412978b2c /test/suite
parentcaf848fc23b3529024260f0450c7b69a225f5d67 (diff)
downloadmongo-cedf8cfe69bf964629aab498feb20a0b1ab77bc0.tar.gz
Fix use of 'compressed' flag for printlog.
Added printlog call to test case for log compression. Refs #1472.
Diffstat (limited to 'test/suite')
-rw-r--r--test/suite/test_txn07.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/suite/test_txn07.py b/test/suite/test_txn07.py
index 3ba9d4d17ec..fe203e07b30 100644
--- a/test/suite/test_txn07.py
+++ b/test/suite/test_txn07.py
@@ -242,5 +242,10 @@ class test_txn07(wttest.WiredTigerTestCase, suite_subprocess):
self.assertEqual(cwrites > 0, True)
self.assertEqual((cfails > 0 or csmall > 0), True)
+ #
+ # Run printlog and make sure it exits with zero status.
+ #
+ self.runWt(['-h', self.backup_dir, 'printlog'], outfilename='printlog.out')
+
if __name__ == '__main__':
wttest.run()