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

Re: [ns] validation problem



Kaleelazhicathu R R Kumar <[email protected]> writes:

> hi all,
>    i am new to NS.while validating after installing the
> ns-allinone-2.1b6,some tests failed for
>  "test-all-red". these tests were for flows-unforced and flows-combined.
>  
> what should i do to rectify this? will this error affect my simulation if i
> use RED.
> 
> i did a retest by doing the following:
> 
> cd tcl/test
> ../../ns test-all-red

By doing this you're feeding a shell script to a tcl interpreter.
Try:
 cd tcl/test
 ./test-all-red
to re-run all tests; and

 ../../ns test-suite-red.tcl <test-name>
to re-run a particular test that fails.

> 
> which gives me the message:
>   no script following: "[$# -ge 1]
>     then 
>            f" argument
>          while compiling
> "if [ $# -ge 1] "
>      (file "test-all-red" line 42)
> 
> can anyone help me out since i am new to this...
>     
>     thanks .
>     Renjish.