1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Include fuzz3.test in all.test. Get fuzz3.test working again. (CVS 6110)

FossilOrigin-Name: 77dc19cfabca54353509ff346b12975044d416d5
This commit is contained in:
drh
2009-01-05 17:19:03 +00:00
parent 0d519ca883
commit 8f51eb8fa0
4 changed files with 12 additions and 13 deletions

View File

@ -10,7 +10,7 @@
#***********************************************************************
# This file runs all tests.
#
# $Id: all.test,v 1.59 2008/10/13 14:16:11 drh Exp $
# $Id: all.test,v 1.60 2009/01/05 17:19:03 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -65,7 +65,6 @@ lappend EXCLUDE misuse.test ;# Run seperately later.
lappend EXCLUDE memleak.test ;# Alternate test driver script
lappend EXCLUDE permutations.test ;# Run seperately later.
lappend EXCLUDE fuzz.test
lappend EXCLUDE fuzz3.test
lappend EXCLUDE soak.test ;# Takes a very long time (default 1 hr)
lappend EXCLUDE fts3.test ;# Wrapper for muliple fts3*.tests
lappend EXCLUDE mallocAll.test ;# Wrapper for running all malloc tests

View File

@ -13,7 +13,7 @@
# the database file by changing the values of pseudo-randomly selected
# bytes.
#
# $Id: fuzz3.test,v 1.2 2008/09/10 17:53:36 danielk1977 Exp $
# $Id: fuzz3.test,v 1.3 2009/01/05 17:19:03 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -145,6 +145,7 @@ for {set ii 0} {$ii < 5000} {incr ii} {
do_test fuzz3-$ii.$iNew.[incr iTest] {
foreach {rc msg} [catchsql $sql] {}
if {$rc == 0
|| $msg eq "database or disk is full"
|| $msg eq "database disk image is malformed"
|| $msg eq "file is encrypted or is not a database"
|| [string match "malformed database schema*" $msg]
@ -166,4 +167,3 @@ for {set ii 0} {$ii < 5000} {incr ii} {
}
finish_test