BUG: test scripts corrupt*.test need do_not_use_codec

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BUG: test scripts corrupt*.test need do_not_use_codec

Noah Hart
corruptA.test & corruptD.test

need the following changes:

-source $testdir/tester.tcl
+source $testdir/tester.tcl
+
+# Do not use a codec for tests in this file, as the database file is  
+# manipulated directly using tcl scripts (using the [hexio_write] command).  
+#  
+do_not_use_codec  


Corrupt3.test current skips the tests when compiled with codec, but will run with the following changes
-if {[sqlite3 -has-codec]} { finish_test ; return }
+# Do not use a codec for tests in this file, as the database file is  
+# manipulated directly using tcl scripts (using the [hexio_write] command).  
+#  
+do_not_use_codec  


~Noah Hart