filefmt return incorrect results when using a codec with an encryption routine
filefmt-1.1... Expected: [53514C69746520666F726D6174203300] Got: [19C10CA15F9AB24A612E680FE7816B25] This happens because the sqlite db command in TCL opens the database with the option -key {xyzzy} when compiled with a codec Suggested fix do_test filefmt-1.1 { sqlite3 db test.db db eval {CREATE TABLE t1(x)} db close hexio_read test.db 0 16 } {53514C69746520666F726D6174203300} change all the "sqlite3 db test.db" type lines to sqlite3 db test.db -key {} This allows the test to run correctly. If there is a better method for running these tests with an encryption codec, please let me know Noah Hart -- View this message in context: http://old.nabble.com/Error-in-filefmt.test-with-encryption-codec-tp28952009p28952009.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users