Index: third_party/sqlite/src/test/savepointfault.test |
diff --git a/third_party/sqlite/src/test/savepoint3.test b/third_party/sqlite/src/test/savepointfault.test |
similarity index 94% |
rename from third_party/sqlite/src/test/savepoint3.test |
rename to third_party/sqlite/src/test/savepointfault.test |
index 0dcb0aceba1f0b621e385879ff359415e26b2ad1..0329f8caa27839f17d97ad58634a26a54f537159 100644 |
--- a/third_party/sqlite/src/test/savepoint3.test |
+++ b/third_party/sqlite/src/test/savepointfault.test |
@@ -9,14 +9,15 @@ |
# |
#*********************************************************************** |
# |
-# $Id: savepoint3.test,v 1.5 2009/06/05 17:09:12 drh Exp $ |
set testdir [file dirname $argv0] |
source $testdir/tester.tcl |
source $testdir/malloc_common.tcl |
-do_malloc_test savepoint3-1 -sqlprep { |
+set testprefix savepointfault |
+ |
+do_malloc_test 1 -sqlprep { |
CREATE TABLE t1(a, b, c); |
INSERT INTO t1 VALUES(1, 2, 3); |
} -sqlbody { |
@@ -28,7 +29,7 @@ do_malloc_test savepoint3-1 -sqlprep { |
RELEASE one; |
} |
-do_malloc_test savepoint3-2 -sqlprep { |
+do_malloc_test 2 -sqlprep { |
PRAGMA cache_size = 10; |
CREATE TABLE t1(a, b, c); |
INSERT INTO t1 VALUES(randstr(400,400), randstr(400,400), randstr(400,400)); |
@@ -59,7 +60,7 @@ do_malloc_test savepoint3-2 -sqlprep { |
RELEASE one; |
} |
-do_ioerr_test savepoint3.3 -sqlprep { |
+do_ioerr_test 3 -sqlprep { |
CREATE TABLE t1(a, b, c); |
INSERT INTO t1 VALUES(1, randstr(1000,1000), randstr(1000,1000)); |
INSERT INTO t1 VALUES(2, randstr(1000,1000), randstr(1000,1000)); |
@@ -79,7 +80,7 @@ do_ioerr_test savepoint3.3 -sqlprep { |
# The following test does a really big savepoint rollback. One involving |
# more than 4000 pages. The idea is to get a specific sqlite3BitvecSet() |
# operation in pagerPlaybackSavepoint() to fail. |
-#do_malloc_test savepoint3-4 -sqlprep { |
+#do_malloc_test 4 -sqlprep { |
# BEGIN; |
# CREATE TABLE t1(a, b); |
# CREATE INDEX i1 ON t1(a); |
@@ -107,7 +108,7 @@ do_ioerr_test savepoint3.3 -sqlprep { |
# Cause a specific malloc in savepoint rollback code to fail. |
# |
-do_malloc_test savepoint3-4 -start 7 -sqlprep { |
+do_malloc_test 4 -start 7 -sqlprep { |
PRAGMA auto_vacuum = incremental; |
PRAGMA cache_size = 1000; |