Add test case for SQLITE_FULL errors to pagerfault.test. Remove a NEVER macro in pager.c that this hits.
FossilOrigin-Name: 3e9680c4c18140d083b24e05a21ea6792aef2487
diff --git a/test/malloc_common.tcl b/test/malloc_common.tcl
index 8202b19..75039e0 100644
--- a/test/malloc_common.tcl
+++ b/test/malloc_common.tcl
@@ -193,6 +193,7 @@
#
proc shmerr_injectinstall {} {
testvfs shmfault -default true
+ shmfault filter {xShmOpen xShmMap xShmLock}
}
proc shmerr_injectuninstall {} {
catch {db close}
@@ -221,7 +222,6 @@
shmfault full 0
}
-
# This command is not called directly. It is used by the
# [faultsim_test_result] command created by [do_faultsim_test] and used
# by -test scripts.