]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix the malloc-10 test in malloc.test so that it will run on windows when
authordrh <drh@noemail.net>
Tue, 4 Sep 2007 01:25:48 +0000 (01:25 +0000)
committerdrh <drh@noemail.net>
Tue, 4 Sep 2007 01:25:48 +0000 (01:25 +0000)
invoked from exclusive3.test. (CVS 4389)

FossilOrigin-Name: 1166f9c7d1b3cb39a2ab96ed08a0552ba5fe1851

manifest
manifest.uuid
test/malloc.test

index 10e2033c1b1ecf26d8b145d1d2c80ce8d337e175..ea2fc1907719ea996c5cdc302a90f9fb55952a0c 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sMakefile.in\sso\sthat\sit\srebuilds\sall\ssource\sfiles\sthat\suse\sSQLITE_TEST\nwhen\sconstructing\sthe\stestfixture.\s(CVS\s4388)
-D 2007-09-03T22:15:45
+C Fix\sthe\smalloc-10\stest\sin\smalloc.test\sso\sthat\sit\swill\srun\son\swindows\swhen\ninvoked\sfrom\sexclusive3.test.\s(CVS\s4389)
+D 2007-09-04T01:25:49
 F Makefile.in cbfb898945536a8f9ea8b897e1586dd1fdbcc5db
 F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -345,7 +345,7 @@ F test/lock2.test 5f9557b775662c2a5ee435378f39e10d64f65cb3
 F test/lock3.test 615111293cf32aa2ed16d01c6611737651c96fb9
 F test/lock4.test 49e22396b9be6e047b3d35469f233be79153c9d5
 F test/main.test 05f585bb70c05caac3e047903b517cbb319ed204
-F test/malloc.test bb1c95fb536cfefd3a5b4ce8ca1d4c99e73b1e33
+F test/malloc.test 5b4ac16e0e11cca99a25574298eb5ac8e93236db
 F test/malloc2.test c1a74f46a3581b56df29ff46a4e1c99b41c44ad9
 F test/malloc3.test d10a1f484805be103f154ce4968f76ba5d530217
 F test/malloc4.test f0e5e0f639f61e2776a6c3f5308f836b3ad8b3c7
@@ -569,7 +569,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P fee2d7c0e6d34dd19ff5f7631c1743879068c8ce
-R d7596e46fc67268777995a33626c8f88
+P dced71a010c14a53e0f71841b5fd55108b7f88b3
+R fe4f8dbf329d720618e95c841905d656
 U drh
-Z c5f1a6a7f97c287575fba17bfc1b9c2f
+Z 69eacf5f608708f12a5b7d1ca5788549
index ef30a515e1731f2ffa681bff5834003d916a2b71..fb0a81ead3a1f94da708246e77ea9c82c5e681bd 100644 (file)
@@ -1 +1 @@
-dced71a010c14a53e0f71841b5fd55108b7f88b3
\ No newline at end of file
+1166f9c7d1b3cb39a2ab96ed08a0552ba5fe1851
\ No newline at end of file
index 59ac5398a790e3a8c05cf06c7805182ce0799d22..82d3dc7a77f6bfeacd62d910ddc35e9cbe154c54 100644 (file)
@@ -16,7 +16,7 @@
 # to see what happens in the library if a malloc were to really fail
 # due to an out-of-memory situation.
 #
-# $Id: malloc.test,v 1.46 2007/09/03 11:04:22 danielk1977 Exp $
+# $Id: malloc.test,v 1.47 2007/09/04 01:25:49 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -246,8 +246,12 @@ do_malloc_test 9 -sqlprep {
 
 # This block tests malloc() failures that occur while opening a 
 # connection to a database.
-do_malloc_test 10 -sqlprep {
-  CREATE TABLE abc(a, b, c);
+do_malloc_test 10 -tclprep {
+  catch {db2 close}
+  db close
+  file delete -force test.db test.db-journal
+  sqlite3 db test.db
+  db eval {CREATE TABLE abc(a, b, c)}
 } -tclbody {
   db close
   sqlite3 db2 test.db