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 #***********************************************************************
11 # This file implements regression tests for SQLite library.
14 set testdir [file dirname $argv0]
15 source $testdir/tester.tcl
16 set testprefix exprfault
22 faultsim_save_and_close
24 do_faultsim_test 1.1 -faults oom* -prep {
25 faultsim_restore_and_reopen
28 SELECT a = ( SELECT d FROM (SELECT d FROM t2) ) FROM t1
31 faultsim_test_result {0 {}}
34 do_faultsim_test 2 -faults oom* -prep {
35 faultsim_restore_and_reopen
38 SELECT hex ( unhex('ABCDEF') );
41 faultsim_test_result {0 ABCDEF}