X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=stress-server.sh;h=09d06c44795bbc6cbbfd84336352afcaff13f55a;hb=f047a6ebb105106fd3b293681298a9fa86418b23;hp=35b7ac48e17249b9efab7f31e577358d91042a0d;hpb=32518ea65c0eb94f516a929bb63387ca53d138c5;p=src%2Fapp-framework-binder.git diff --git a/stress-server.sh b/stress-server.sh index 35b7ac48..09d06c44 100755 --- a/stress-server.sh +++ b/stress-server.sh @@ -1,11 +1,10 @@ #!/bin/bash ROOT=$(dirname $0) +cd ${ROOT:-.} +ROOT=$(pwd) echo ROOT=$ROOT -cd $ROOT -pwd - AFB=build/src/afb-daemon HELLO=build/bindings/samples/helloWorld.so PORT=12345 @@ -18,8 +17,8 @@ rm $OUT* case "$1" in --ws) shift - ARGS="-q --ldpaths=/tmp --binding=$HELLO --session-max=100 --ws-server=unix:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --ldpaths=/tmp --roothttp=$TEST --token=$TOKEN --ws-client=unix:hello " -# ARGS="-vv --tracereq=all --ldpaths=/tmp --binding=$HELLO --session-max=100 --ws-server=unix:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --ldpaths=/tmp --roothttp=$TEST --token=$TOKEN --ws-client=unix:hello " + ARGS="-q --ldpaths=/tmp --binding=$HELLO --session-max=100 --ws-server=unix:@afw:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --ldpaths=/tmp --roothttp=$TEST --token=$TOKEN --ws-client=unix:@afw:hello " +# ARGS="$ARGS -vvv --tracereq=all" ;; *) ARGS="-q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO"