Hi! On Thu, 2015-01-15 at 18:13 +0300, Alexey Kodanev wrote: > Hi!
> > -if [info exists env(LOOPCOUNT)] { > > - set LOOPCOUNT $env(LOOPCOUNT) > > -} else { > > - set LOOPCOUNT 25 > > + for ((count=0;count<${LOOPCOUNT};count++)) { > > + rlogin_test > > + } > > } > > > > Why the return status of rlogin_test() not checked here, but only the > last one after do_test()? May be, we could write something like this: > 'rlogin_test || return 1'. > 'rlogin_test || return 1' looks better. > 'for (())' is a bash extension, you can do the same with for i in $(seq > 0 $LOOPCOUNT); do ... done. > Oh, I got it. And thank you very much. :) Best regards, Zeng ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list