X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeploy.sh;h=f685bf0a96600d2933c68d1b8da4ef0533d79dc2;hb=93ddfd21d4b502cd79b0d36e14518fbbde5982b2;hp=c5a5101f3910444e711c1679917d30869bf6484d;hpb=23f8d538e91355cecfc96636f16597a2a48649ac;p=anna.git diff --git a/example/diameter/launcher/deploy.sh b/example/diameter/launcher/deploy.sh index c5a5101..f685bf0 100755 --- a/example/diameter/launcher/deploy.sh +++ b/example/diameter/launcher/deploy.sh @@ -41,10 +41,10 @@ usage () { echo exit 0 } - + # $1: deployment type createRunScript () { - # Basic launcher 'run.sh' will be created at deployment configuration: + # Basic launcher 'run.sh' will be created at deployment configuration: [ "$1" = "b" ] && return local other= @@ -67,6 +67,7 @@ rm -f counters/* test-reports/* export LD_LIBRARY_PATH=\$PWD/dynlibs ./\$EXE --services services.xml --cntDir counters --tmDir test-reports $other & echo \$! > .pid +renice -n 5 -p \$(cat .pid) EOF chmod a+x run.sh @@ -168,6 +169,7 @@ mkdir -p $DPATH/test-reports # Dynamic libs: cp -r $LIB_DIR/dynamic/launcher $DPATH/dynlibs +cp $LIB_DIR/libanna_testing_shared.so $DPATH/dynlibs # Get stuff from leaf directories: cd $LIB_DIR/dynamic/launcher @@ -207,6 +209,7 @@ cp $SRVDTD $DPATH/DTDs [ "$option" = "b" ] && cp $SERVICES/* $DPATH/services cp $SCRIPTS/clone.sh $DPATH cp $SCRIPTS/tinyTestcase.sh $DPATH +cp $SCR_DIR/resources/HELP.md $DPATH # Copy executables: cp $ADML_EXEC $DPATH/ADML @@ -222,7 +225,7 @@ cd - >/dev/null if [ "$option" = "s" ] then cd $DPATH - ln -s services_example services + #ln -s services_example services mv run.sh .run-one.sh mv run_all.sh run.sh mv operation.sh .operation-one.sh