On 2/5/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
>
> Am 05.02.2006 um 07:38 schrieb Zoran Vasiljevic:
>
> > ==== ns_info-2.19.1 basic operation FAILED
> > ==== Contents of test case:
> >
> >      expr {[llength [ns_info pools]]<=0}
> >
> > ---- Result was:
> > 0
> > ---- Result should have been (exact matching):
> > 1
> > ==== 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]] == 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-symbols...

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. 
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.

Reply via email to