Index: third_party/sqlite/src/test/mallocI.test |
diff --git a/third_party/sqlite/src/test/mallocI.test b/third_party/sqlite/src/test/mallocI.test |
index 122945550516863d9fde3e7522944fca44f06ed3..ee4a603dee17767ebf91b829f05662d963cc7b7d 100644 |
--- a/third_party/sqlite/src/test/mallocI.test |
+++ b/third_party/sqlite/src/test/mallocI.test |
@@ -61,4 +61,15 @@ do_malloc_test mallocI-4 -tclprep { |
} |
catch { db2 close } |
+do_faultsim_test mallocI-5 -faults oom* -prep { |
+ catch { db close } |
+ sqlite3 db test.db |
+ sqlite3_db_config_lookaside db 0 0 0 |
+} -body { |
+ db eval { Select CAST(1 AS blob) } |
+} -test { |
+ faultsim_test_result {0 1} |
+} |
+ |
+ |
finish_test |