aboutsummaryrefslogtreecommitdiff
path: root/test/permutations.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-07-24 08:20:40 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-07-24 08:20:40 +0000
commit2d34081de9f3eeafe29155f953b5df351ad8af1b (patch)
tree250a63725fa3a6a68d2049cc2908bb1700e54b15 /test/permutations.test
parent80cc85b3c2f1454b27320d2485a4095e4e6d93b1 (diff)
downloadsqlite-2d34081de9f3eeafe29155f953b5df351ad8af1b.tar.gz
sqlite-2d34081de9f3eeafe29155f953b5df351ad8af1b.zip
Add mem6.c, a new allocator. More to come. (CVS 5467)
FossilOrigin-Name: 192bc192185a7b475ef9331e2a4a0dc68083ec03
Diffstat (limited to 'test/permutations.test')
-rw-r--r--test/permutations.test23
1 files changed, 22 insertions, 1 deletions
diff --git a/test/permutations.test b/test/permutations.test
index 215745192..d918986b5 100644
--- a/test/permutations.test
+++ b/test/permutations.test
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
-# $Id: permutations.test,v 1.13 2008/07/16 12:25:32 drh Exp $
+# $Id: permutations.test,v 1.14 2008/07/24 08:20:40 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -439,6 +439,27 @@ ifcapable threadsafe {
}
}
+ run_tests "memsys6" -description {
+ Run tests using the allocator in mem6.c.
+ } -include {
+ select1.test
+ } -initialize {
+ catch {db close}
+ sqlite3_reset_auto_extension
+ sqlite3_shutdown
+ sqlite3_config_chunkalloc
+ install_malloc_faultsim 1
+ sqlite3_initialize
+ autoinstall_test_functions
+ } -shutdown {
+ catch {db close}
+ sqlite3_reset_auto_extension
+ sqlite3_shutdown
+ sqlite3_config_heap 0 0
+ install_malloc_faultsim 1
+ sqlite3_initialize
+ }
+
# run_tests "crash_safe_append" -description {
# Run crash.test with persistent journals on a SAFE_APPEND file-system.
# } -initialize {