Hi,
There's a small bug in the memdb.test script, that produces the following
error on v 3.6.23.1 when doing a make fulltest:
memdb-3.3... Ok
memdb-3.4... Ok
memdb-4.0... Ok
./testfixture: couldn't set loop variable: "t1"
while executing
"ifcapable memorydb {
# In the following sequence of tests, compute the MD5 sum of the content
# of a table, make lots of modifications to that table,..."
(file "../source/test/memdb.test" line 20)
invoked from within
"source $testfile"
("foreach" body line 6)
invoked from within
"foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
set tail [file tail $testfile]
if {[lsearch -exact $EXCLUDE $tail]>=0} continue
..."
("for" body line 2)
invoked from within
"for {set Counter 0} {$Counter<$COUNT && $nErr==0} {incr Counter} {
foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
set tail [file ..."
(file "../source/test/all.test" line 77)
make: *** [fulltest] Error 1
The fix is simple enough:
--- test/memdb.test
+++ test/memdb.test
@@ -160,6 +160,7 @@
# t1 Content of "c" column of t1 assuming no error in $cmd
# t2 Content of "x" column of t2
#
+unset -nocomplain t1
foreach {i conf cmd t0 t1 t2} {
1 {} INSERT 1 {} 1
2 {} {INSERT OR IGNORE} 0 3 1
Regards
Andy
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users