From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VeSOM-0001lX-V3 for ltp-list@lists.sourceforge.net; Thu, 07 Nov 2013 16:25:10 +0000 Date: Thu, 7 Nov 2013 17:25:02 +0100 From: chrubis@suse.cz Message-ID: <20131107162501.GD9653@rei.Home> References: <1383704723-577-1-git-send-email-xu.simon@oracle.com> <1383715718-507-1-git-send-email-xu.simon@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1383715718-507-1-git-send-email-xu.simon@oracle.com> Subject: Re: [LTP] [PATCH V2] rpc01: fix $TCbin and $TCtmp and data file names List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Simon Xu Cc: ltp-list@lists.sourceforge.net Hi! > The values of TCbin and TCtmp should be swapped, and `rpc1' is in TCbin, > not TCtmp. Also correct the file names 'file.1' and 'file.2' which do not > exist. > > Signed-off-by: Simon Xu > --- > testcases/network/rpc/basic_tests/rpc01/rpc01 | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/testcases/network/rpc/basic_tests/rpc01/rpc01 b/testcases/network/rpc/basic_tests/rpc01/rpc01 > index ef97a95..8594835 100755 > --- a/testcases/network/rpc/basic_tests/rpc01/rpc01 > +++ b/testcases/network/rpc/basic_tests/rpc01/rpc01 > @@ -36,13 +36,13 @@ > $trace_logic > this_file=${0##*/} > TC=${TC:=rpc01} > -TCbin=${TCbin:=`pwd`} > +TCbin=${TCbin:=$LTPROOT/testcases/bin} > TCdat=${TCdat:=$TCbin/datafiles} > -TCtmp=${TCtmp:=$LTPROOT/testcases/bin} > +TCtmp=${TCtmp:=`pwd`} > NUMLOOPS=${NUMLOOPS:=3} > RHOST=${RHOST:=`hostname`} > CLEANUP=${CLEANUP:="ON"} > -DATAFILES=${DATAFILES:="file.1 file.2"} > +DATAFILES=${DATAFILES:="bin.med bin.sm"} > > #============================================================================= > # FUNCTION NAME: do_test > @@ -68,7 +68,7 @@ do_test() > do > for FILE in $DATAFILES > do > - $TCtmp/rpc1 -s $RHOST -f $TCdat/$FILE > + $TCbin/rpc1 -s $RHOST -f $TCdat/$FILE The runltp script adds $LTPROOT/testcases/bin to path so you should reduce this only to rpc1 and it should work. The runltp script also sets $TMPDIR as temporary directory. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list