diff options
author | Don Anderson <dda@ddanderson.com> | 2014-12-15 11:54:15 -0500 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2014-12-15 11:54:15 -0500 |
commit | cedf8cfe69bf964629aab498feb20a0b1ab77bc0 (patch) | |
tree | 35122ff88a28fec114b6b720c6a0882412978b2c /test/suite | |
parent | caf848fc23b3529024260f0450c7b69a225f5d67 (diff) | |
download | mongo-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.py | 5 |
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() |