From 6eca43dde5d63caa777afe4af2cd8771d65dd2a6 Mon Sep 17 00:00:00 2001
From: "Bradley C. Kuszmaul" <bradley@tokutek.com>
Date: Fri, 8 Feb 2008 22:41:47 +0000
Subject: [PATCH] Bump log_code.c test coverage to 54% by putting a call to
 tdb_logprint into the Makefile.  Addresses #369.

git-svn-id: file:///svn/tokudb@2208 c7de825b-a66e-492c-adef-691d508d4ae1
---
 src/tests/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tests/Makefile b/src/tests/Makefile
index 7b337577356..0cf4bd2fd8e 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -173,6 +173,7 @@ all.recover: test_log2.recover test_log3.recover test_log4.recover test_log5.rec
 	$(MAYBEATSIGN) cd ../../newbrt;make $(VERBQUIET) recover;make $(VERBQUIET)
 	$(MAYBEATSIGN) cd ..;make $(VERBQUIET)
 	$(MAYBEATSIGN) $(VGRIND) ./$<
+	$(MAYBEATSIGN) (cd dir.$(patsubst %.tdb,%.c.tdb,$<);pwd;cat log*| ../../../newbrt/tdb_logprint |wc -c)
 	$(MAYBEATSIGN) rm -rf dir.$(patsubst %.tdb,%.c.tdb,$<).recover
 	$(MAYBEATSIGN) mkdir dir.$(patsubst %.tdb,%.c.tdb,$<).recover
 	$(MAYBEATSIGN) cd dir.$(patsubst %.tdb,%.c.tdb,$<).recover;$(VGRIND) ../../../newbrt/recover ../dir.$(patsubst %.tdb,%.c.tdb,$<)