mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Prevent backcompat.test from mistaking directories for binary executables.
FossilOrigin-Name: 717a1e50f005714b1d5233f80697db14cd8af659
This commit is contained in:
@ -39,7 +39,7 @@ if {$tcl_platform(platform)=="windows"} {
|
||||
set pattern [string map {\.exe {}} $pattern]
|
||||
}
|
||||
foreach file [glob -nocomplain $pattern] {
|
||||
if {[file executable $file]} {lappend binaries $file}
|
||||
if {[file executable $file] && [file isfile $file]} {lappend binaries $file}
|
||||
}
|
||||
if {[llength $binaries]==0} {
|
||||
puts "WARNING: No historical binaries to test against."
|
||||
|
Reference in New Issue
Block a user