Add coverage tests. Remove a NEVER macro from pager.c, as the condition can now be true in wal mode.

FossilOrigin-Name: 7aac9ad6dd14b1c56eb8e4750ac769c6197c30bd
This commit is contained in:
dan
2010-06-24 10:50:17 +00:00
parent a927e94e71
commit dca321aed4
6 changed files with 175 additions and 23 deletions
+3 -1
View File
@@ -187,7 +187,6 @@ proc ioerr_injectstop {} {
return $sv
}
# The following procs are used as [do_one_faultsim_test] callbacks when
# injecting shared-memory related error faults into test cases.
#
@@ -207,6 +206,9 @@ proc shmerr_injectstop {} {
shmfault ioerr 0 0
}
# The following procs are used as [do_one_faultsim_test] callbacks when
# injecting SQLITE_FULL error faults into test cases.
#
proc fullerr_injectinstall {} {
testvfs shmfault -default true
}