X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=stress-server.sh;h=643c8990c88f3d42d8c10f552689a1c719cfb3fb;hp=ec57da57a35d7c9d1e27881cb05e0d14a7deff7f;hb=refs%2Fheads%2Fsandbox%2FDDTLK%2Fpakage;hpb=c82c7a70449d31e2fc05c486e9959cb68b371e8e diff --git a/stress-server.sh b/stress-server.sh index ec57da57..643c8990 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,7 +17,7 @@ rm $OUT* case "$1" in --ws) shift - 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="-q --no-ldpaths --binding=$HELLO --session-max=100 --ws-server=unix:@afw:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --no-ldpaths --roothttp=$TEST --token=$TOKEN --ws-client=unix:@afw:hello " # ARGS="$ARGS -vvv --tracereq=all" ;; *)