X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Fft-client%2Ftests%2Fexperiment2%2Fgo.sh;h=44bd53f1e254dbeafb23d907096bd917c52e4e6f;hb=fc1e7ab6ad507ccaadf44f190c3fa5f6265a108b;hp=f6e9327e1e66929bd718e29f5160d2525aade150;hpb=8da04b5c6567907540a54d440aecc2b7d70e079b;p=anna.git diff --git a/example/diameter/launcher/resources/ft-client/tests/experiment2/go.sh b/example/diameter/launcher/resources/ft-client/tests/experiment2/go.sh index f6e9327..44bd53f 100755 --- a/example/diameter/launcher/resources/ft-client/tests/experiment2/go.sh +++ b/example/diameter/launcher/resources/ft-client/tests/experiment2/go.sh @@ -3,12 +3,12 @@ ############# # VARIABLES # ############# -CWD=`dirname $0` +SCR_DIR=`dirname $0` tmpdir=$(mktemp -d) SCR_BN=`basename $0` -OPER_SCR=`readlink -f $CWD/../../operation.sh` -RESULT_LOG=$CWD/result.log -RECV_LOG=`readlink -f $CWD/../../launcher.log.recvfe` +OPER_SCR=../../operation.sh +RESULT_LOG=result.log +RECV_LOG=../../launcher.log.recvfe ############# # FUNCTIONS # @@ -157,7 +157,7 @@ process_tc () { trap sigint_handler SIGINT # Working directory is script dirname: -cd $CWD +cd $SCR_DIR # Intro: echo @@ -171,7 +171,7 @@ echo "------------------" # Gather .tc files to be processed: [ ! -f $1 ] && echo -e "\nGathering list of test cases from '`readlink -f $1`' ..." echo -find $1 -name *.tc | xargs readlink -f | tee -a $tmpdir/tc_list +find $1 -name *.tc | xargs -L1 readlink -f | tee -a $tmpdir/tc_list echo echo