]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fixed numbering of a few tests; minor tweaks on others.
authorshaneh <shaneh@noemail.net>
Thu, 25 Feb 2010 18:07:59 +0000 (18:07 +0000)
committershaneh <shaneh@noemail.net>
Thu, 25 Feb 2010 18:07:59 +0000 (18:07 +0000)
Added a couple new tests to stress previous simplifications.

FossilOrigin-Name: 9b18dfd19e825b09c1d246c826e179b9892308df

manifest
manifest.uuid
test/ctime.test

index 465b8108ef78aa09cc46eabe21287e05d82e3030..066b3980ccae4d5ec536ad553ebc84d154ee31c1 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,8 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-C Minor\ssimplifications\sto\sthe\scompile-time\soption\sreporting\sfunctions\sand\npragmas\sto\sfacilitate\scoverage\stesting.
-D 2010-02-25T15:28:42
+C Fixed\snumbering\sof\sa\sfew\stests;\sminor\stweaks\son\sothers.\s\s\nAdded\sa\scouple\snew\stests\sto\sstress\sprevious\ssimplifications.
+D 2010-02-25T18:07:59
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in 4f2f967b7e58a35bb74fb7ec8ae90e0f4ca7868b
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -321,7 +318,7 @@ F test/crash8.test 5b32966fcb58fd616d24ce94303420351d076eb9
 F test/crashtest1.c 09c1c7d728ccf4feb9e481671e29dda5669bbcc2
 F test/createtab.test 199cf68f44e5d9e87a0b8afc7130fdeb4def3272
 F test/cse.test 277350a26264495e86b1785f34d2d0c8600e021c
-F test/ctime.test aa0953d27564dac33d6c3fd5903312788b7fa383
+F test/ctime.test 50e1fd7bc76a89014e27c73381e7b5ec75bb17cb
 F test/date.test 0b8473ed9ab6fd4283b4a01f035e1067762ba734
 F test/default.test 6faf23ccb300114924353007795aa9a8ec0aa9dc
 F test/delete.test f7629d9eb245dfca170169cc5c7a735dec34aeb4
@@ -795,14 +792,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 78351d289bba83e536b64666c566b7bfc57351da
-R fc8b2f3b47f245eabb47345addf3c287
-U drh
-Z 4e47927e3bcb66e5fb9f95fb6ecab24b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFLhpctoxKgR168RlERAqODAJ9s1JUohWfuDCMn8r6UjUKPuWx+sgCfVoJZ
-FiEbzo9If4ZwffR72z1peFY=
-=7Yci
------END PGP SIGNATURE-----
+P 633d874783a94f923ff8240f9153764033d37a89
+R b415f1e2575ca4e2284804631588393c
+U shaneh
+Z 6fde487eda25da0e582d84373048848c
index 421eaf9518b6de9fe41f488709cf15741c761dc9..97133aee3020c60df13423c89e32abdea3c4dd00 100644 (file)
@@ -1 +1 @@
-633d874783a94f923ff8240f9153764033d37a89
\ No newline at end of file
+9b18dfd19e825b09c1d246c826e179b9892308df
\ No newline at end of file
index 119100778fb7dfbcac9d3213683622dfa39f44f7..e94da495e4cc8fcea83f3305ea33ed3e2a5af3fc 100644 (file)
@@ -110,7 +110,7 @@ do_test ctime-1.4.5 {
   }
 } {0 1}
 
-do_test ctime-1.4 {
+do_test ctime-1.5 {
   set ans1 [ catchsql {
     PRAGMA compile_option('THREADSAFE=0');
   } ]
@@ -120,17 +120,18 @@ do_test ctime-1.4 {
   lsort [ list $ans1 $ans2 ]
 } {{0 0} {0 1}}
 
-do_test ctime-1.5 {
+do_test ctime-1.6 {
   execsql {
     PRAGMA compile_option('THREADSAFE=');
   }
 } {0}
-do_test ctime-1.6 {
+
+do_test ctime-1.7.1 {
   execsql {
     PRAGMA compile_option('SQLITE_OMIT_COMPILEOPTION_DIAGS');
   }
 } {0}
-do_test ctime-1.7 {
+do_test ctime-1.7.2 {
   execsql {
     PRAGMA compile_option('OMIT_COMPILEOPTION_DIAGS');
   }
@@ -169,6 +170,21 @@ do_test ctime-2.1.6 {
     SELECT sqlite_compile_option_used('THREADSAFE', 0);
   }
 } {1 {wrong number of arguments to function sqlite_compile_option_used()}}
+do_test ctime-2.1.7 {
+  catchsql {
+    SELECT sqlite_compile_option_used(0);
+  }
+} {0 0}
+do_test ctime-2.1.8 {
+  catchsql {
+    SELECT sqlite_compile_option_used('0');
+  }
+} {0 0}
+do_test ctime-2.1.9 {
+  catchsql {
+    SELECT sqlite_compile_option_used(1.0);
+  }
+} {0 0}
 
 do_test ctime-2.2.1 {
   catchsql {
@@ -192,10 +208,10 @@ do_test ctime-2.3 {
 # This assumes there is at least 1 compile time option
 # (see SQLITE_THREADSAFE above).
 do_test ctime-2.4 {
-  set res [ catchsql {
+  set ans [ catchsql {
     SELECT sqlite_compile_option_get(0);
   } ]
-  list [lindex $res 0]
+  list [lindex $ans 0]
 } {0}
 
 # Get the list of defines using the pragma,