[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] ns-2 validate on win2000
Dear All,
I'm trying to validate ns-2 on win2000, can anybody give some advise on
validate of ns-2.1b8a? I saw that there may have some problem with
validation of ns-2.1b8a using sygwin.
I tried to apply a patch file in sygwin, but got the error msg as below:
$ patch test-all-template1 patch11
patch unexpectedly ends in middle of line
patching file `test-all-template1'
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 117.
1 out of 1 hunk FAILED -- saving rejects to test-all-template1.rej
The patch file is as below:
*** test-all-template1.orig Wed Jan 5 01:01:00 2000
--- test-all-template1 Thu Jun 22 16:04:10 2000
***************
*** 117,123 ****
cp $datafile.bk $datafile
mv $datafile.Z $directory/$t.Z
else
! gzip -dc $directory/$t.Z | cmp -s - $datafile
if [ $? = 0 ]; then
echo Test output agrees with reference output
else
--- 117,123 ----
cp $datafile.bk $datafile
mv $datafile.Z $directory/$t.Z
else
! gzip -dc $directory/$t.Z | perl -ne 'print $_;' |cmp -s -
$datafile
if [ $? = 0 ]; then
echo Test output agrees with reference output
else
Is there some specific way to validate ns-2 on win2000?
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp