Replaces use of deprecated WINAPI_FAMILY_APP macro with WINAPI_FAMILY_PC_APP
[sqlcipher.git] / test / cksumvfs.test
blob8c7bcf5511ac399ed616a6856dd75a9e4795efa0
1 # 2024 March 19
3 # The author disclaims copyright to this source code.  In place of
4 # a legal notice, here is a blessing:
6 #    May you do good and not evil.
7 #    May you find forgiveness for yourself and forgive others.
8 #    May you share freely, never taking more than you give.
10 #***********************************************************************
13 set testdir [file dirname $argv0]
14 source $testdir/tester.tcl
15 set testprefix cksumvfs
17 sqlite3_register_cksumvfs
18 db close
19 sqlite3 db test.db
20 file_control_reservebytes db 8
22 set text [db one "SELECT hex(randomblob(5000))"]
24 do_execsql_test 1.0 {
25   CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
26   INSERT INTO t1 VALUES(1, $text);
29 do_execsql_test 1.1 {
30   SELECT * FROM t1;
31 } [list 1 $text]
33 finish_test