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