From: Stephen D. <sd...@gm...> - 2006-02-05 08:22:45
|
On 2/5/06, Zoran Vasiljevic <zv...@ar...> wrote: > > Am 05.02.2006 um 07:38 schrieb Zoran Vasiljevic: > > > =3D=3D=3D=3D ns_info-2.19.1 basic operation FAILED > > =3D=3D=3D=3D Contents of test case: > > > > expr {[llength [ns_info pools]]<=3D0} > > > > ---- Result was: > > 0 > > ---- Result should have been (exact matching): > > 1 > > =3D=3D=3D=3D ns_info-2.19.1 FAILED > > > I think this test is broken. It assumes that at > the point of calling the test, no memory allocations > took place, which is hard to believe. I think this > test could be: > > test ns_info-2.19.1 {basic operation} -body { > expr {[llength [ns_info pools]] =3D=3D 0} > } -result 0 > > Although, precisely speaking, this test does not > make much sense because you cannot control if some > memory is being allocated or not from the test suite. This used to work. Looks like it's because I built tcl with --enable-symbo= ls... The ns_addrbyhost error disappeared. This may have been because my network went down, although when I disable the wireless now I don't get the test failure, although I do get an error message in the log.=20 Weird. The ADP test failure happened because zlib.h wasn't installed on this machine. I think our code is wrong here. If zlib support is not built the the compression routines silently pass through the data uncompressed and unmodified. I think the build should fail if zlib is not found. |