aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz_malloc.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzz_malloc.test')
-rw-r--r--test/fuzz_malloc.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fuzz_malloc.test b/test/fuzz_malloc.test
index 1e31babd9..b01b9d7ae 100644
--- a/test/fuzz_malloc.test
+++ b/test/fuzz_malloc.test
@@ -59,7 +59,12 @@ proc do_fuzzy_malloc_test {testname args} {
# puts fuzyy-sql=\[$::sql\]; flush stdout
foreach {rc res} [catchsql "$::sql"] {}
if {$rc==0} {
+ set nErr1 [set_test_counter errors]
do_malloc_test $testname-$ii -sqlbody $::sql -sqlprep $::prep
+ if {[set_test_counter errors]>$nErr1} {
+ puts "Previous fuzzy-sql=\[$::sql\]"
+ flush stdout
+ }
} else {
incr ii -1
}