1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Tests cases automatically remove many of their temporary files. (CVS 3463)

FossilOrigin-Name: eef0ec0d7ae0743d29454567f539e46ad2d5008e
This commit is contained in:
drh
2006-10-04 11:55:49 +00:00
parent b1b6d4a929
commit d9910fe529
6 changed files with 26 additions and 15 deletions

View File

@ -11,7 +11,7 @@
# This file implements some common TCL routines used for regression
# testing the SQLite library
#
# $Id: tester.tcl,v 1.68 2006/09/15 12:29:16 drh Exp $
# $Id: tester.tcl,v 1.69 2006/10/04 11:55:50 drh Exp $
# Make sure tclsqlite3 was compiled correctly. Abort now with an
# error message if not.
@ -172,6 +172,12 @@ proc finalize_testing {} {
puts "$sqlite_open_file_count files were left open"
incr nErr
}
foreach f [glob -nocomplain test.db-*-journal] {
file delete -force $f
}
foreach f [glob -nocomplain test.db-mj*] {
file delete -force $f
}
exit [expr {$nErr>0}]
}