[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: AW: [ns] Validation problems: ./test-all-red and ./test-all-webca chenetwor k simulator ns-2 fails!



Hi,

thank you very much for your help. After making the changes you mentioned below, the validation runs without any error.

Thanks
Robert

> -----Urspr> �ngliche Nachricht-----
> Von:	Tim Buchheim [SMTP:[email protected]]
> Gesendet am:	Freitag, 9. November 2001 23:20
> An:	Seidl Robert
> Betreff:	Re: AW: [ns] Validation problems: ./test-all-red and ./test-all-webca chenetwor k simulator ns-2 fails!
> 
> On Wed, 2001-11-07 at 08:54, Seidl Robert wrote:
> 
> > After running: make clean
> > 	             ./configure --enable-debug
> > 	             make
> > there is still remaining one error: ./test-all-red
> > _______________________________________________________________
> > validate overall report: some tests failed:
> > ./test-all-red
> > to re-run a specific test, cd tcl/test; ../../ns test-all-TEST-NAME
> > Notice that some tests in webcache will fail on freebsd when -O is turned on.
> > This is due to some event reordering, which will disappear when -g is turned on. 
> > ________________________________________________________________
> > 
> > One disappear: ./test-all-webcachenetwork 
> > 
> > Hopefully you know also a solution for the remaining error message?
> 
> 
> The RED test fails due to differences in the implementation of the UNIX
> sort utility.  Although many versions of sort use a stable sorting
> algorithm, some versions of the GNU textutils sort (which is the version
> of sort used in Linux) do not.
> 
> I've fixed this in the CVS repository by making the following change to
> ~ns/tcl/test/test-suite-red:
> 
> change this line (in create_flow_graph)
> 
>         exec sort -n +1 -o $flowfile $flowfile
> 
> to the following:
> 
>         exec sort -n +1 +0 -o $flowfile $flowfile
> 
> It will now work properly regardless of whether or not your sort uses a
> stable sorting algorithm.
> 
> 
> -- 
> Tim Buchheim