mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix a file descriptor leak in the exclusive2 test script. (CVS 3871)
FossilOrigin-Name: 2d2e68da74459340c262a6454fdd05149bc94c59
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#***********************************************************************
|
||||
# This file implements regression tests for SQLite library.
|
||||
#
|
||||
# $Id: exclusive2.test,v 1.4 2007/04/16 15:02:20 drh Exp $
|
||||
# $Id: exclusive2.test,v 1.5 2007/04/25 12:06:59 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -161,6 +161,7 @@ do_test exclusive2-2.4 {
|
||||
seek $fd 1024
|
||||
puts -nonewline $fd [string repeat [binary format c 0] 10000]
|
||||
flush $fd
|
||||
close $fd
|
||||
t1sig
|
||||
} $::sig
|
||||
|
||||
|
Reference in New Issue
Block a user