aboutsummaryrefslogtreecommitdiff
path: root/src/test_malloc.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-03-18 13:01:38 +0000
committerdrh <drh@noemail.net>2008-03-18 13:01:38 +0000
commit77db4c05ec84acde855743f4342fe0a3b22aa6a6 (patch)
tree24b2838d5fe7e0f4b531fc3fd7f81809e3f50434 /src/test_malloc.c
parent874c5d6a43b933ed9d7f56c144c5b142ce27fd57 (diff)
downloadsqlite-77db4c05ec84acde855743f4342fe0a3b22aa6a6.tar.gz
sqlite-77db4c05ec84acde855743f4342fe0a3b22aa6a6.zip
Minor test coverage enhancements. (CVS 4877)
FossilOrigin-Name: edd207b9a9df5d73ec34474a4e90fcb592f06cf1
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r--src/test_malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c
index 38708009a..c0daf4690 100644
--- a/src/test_malloc.c
+++ b/src/test_malloc.c
@@ -13,7 +13,7 @@
** This file contains code used to implement test interfaces to the
** memory allocation subsystem.
**
-** $Id: test_malloc.c,v 1.16 2008/03/18 00:07:11 drh Exp $
+** $Id: test_malloc.c,v 1.17 2008/03/18 13:01:38 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -437,6 +437,7 @@ static int test_memdebug_fail(
}
}
+ sqlite3_test_control(-12345); /* Just to stress the test_control interface */
nBenign = sqlite3_test_control(SQLITE_TESTCTRL_FAULT_BENIGN_FAILURES,
SQLITE_FAULTINJECTOR_MALLOC);
nFail = sqlite3_test_control(SQLITE_TESTCTRL_FAULT_FAILURES,