projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix local server for multiple applications
[anna.git]
/
example
/
diameter
/
launcher
/
deploy.sh
diff --git
a/example/diameter/launcher/deploy.sh
b/example/diameter/launcher/deploy.sh
index
c5a5101
..
f685bf0
100755
(executable)
--- a/
example/diameter/launcher/deploy.sh
+++ b/
example/diameter/launcher/deploy.sh
@@
-41,10
+41,10
@@
usage () {
echo
exit 0
}
echo
exit 0
}
-
+
# $1: deployment type
createRunScript () {
# $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=
[ "$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
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
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
# 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
# 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
[ "$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
# Copy executables:
cp $ADML_EXEC $DPATH/ADML
@@
-222,7
+225,7
@@
cd - >/dev/null
if [ "$option" = "s" ]
then
cd $DPATH
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
mv run.sh .run-one.sh
mv run_all.sh run.sh
mv operation.sh .operation-one.sh