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

Re: [ns] Validation failed.



Hi Padma,

I checked the output files of the tests and found out that they are empty.
It seems, I am not sure that in the test-suite-TEST-NAME.tcl file, when
the line
"exec $PERL ../../bin/getrc -s 2 -d 3 all.tr |  $PERL ../../bin/raw2xg -s
0.01 -m 90 -t $file > temp.rands"
was executed, some error occured, which cause the program to stop and
leave an empty outup file. I guess It is caused by the ns/bin/getrc file,
because when I run it separately it gives the following error massage,
------
usage: getrc -s node1 [options] [trace file...]

get trace files that match certain criteria related to source, dest or
flow-id

options:
        -o outfile      write subset trace to output file
        -b              bi-directional, i.e. gather lines
        -d node2        specify destination
        -f flowid       specify flow id
        -e              get event-trace
--------

Hao Wang



On Mon, 17 Dec 2001, Padmaparna Haldar wrote:

>
> You need to find out why the tests fail which you can from the diffs of
> the test outputs.
> --Padma
> On Fri, 14 Dec 2001, hao wang wrote:
>
>
> > Hi,
> >
> > First, thank you for your response to my question. I tried both the
> > commands you mentioned but still got the same error message.
> >
> > By the way, the perl version is 5.6.1.
> >
> > Hao Wang
> >
> > On Thu, 13 Dec 2001, Lloyd Wood wrote:
> >
> > > On Thu, 13 Dec 2001, Lloyd Wood wrote:
> > >
> > > > > I just installed ns-2.1b8 on Sun Solaris and run the ./validate . Many
> > > > > tests did not pass. I run those tests seperetly
> > > >
> > > > I'd run them with:
> > > >
> > > > /bin/sh ns/test-all-name
> > >
> > > or
> > > /bin/sh ~ns/test/test-all-name
> > >
> > > even.
> > >
> > > L.
> > >
> > > > since the bin/sh on the first line is (deliberately?) mangled in a
> > > > number of scripts for some reason that escapes me.
> > > >
> > > > L.
> > > >
> > > > hmmm, we could probably do with require on a few more bin/ perl
> > > > scripts, too.
> > >
> > > <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
> > >
> > >
> >
> >
>
> --
> ------------------------------------------------
> Be true to your work, your word, and your friend.
> --Thoreau
>
> Padmaparna Haldar
>
>