aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-14 14:19:32 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-14 14:19:32 +0200
commit32518ea65c0eb94f516a929bb63387ca53d138c5 (patch)
tree737e9f7d8dd9ee6099f0017e39f252fb87a4c1da
parenta8e971702f23ee67e02b4716ad4159f12cefdca6 (diff)
improve stress test outputs
Change-Id: I86b62cfa2b6da6963d1014ae4362ea5f7338c736 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rwxr-xr-xstress-clients.sh2
-rwxr-xr-xstress-server.sh4
2 files changed, 4 insertions, 2 deletions
diff --git a/stress-clients.sh b/stress-clients.sh
index a8cb955c..4e1d1d64 100755
--- a/stress-clients.sh
+++ b/stress-clients.sh
@@ -8,7 +8,7 @@ CLI=$ROOT/build/src/afb-client-demo
HELLO=build/bindings/samples/helloWorld.so
PORT=12345
TEST=test
-TOKEN=knock-knock-knoc
+TOKEN=knock-knock-knock
OUT=$ROOT/stress-out-clients
rm $OUT*
diff --git a/stress-server.sh b/stress-server.sh
index 31fce9f6..35b7ac48 100755
--- a/stress-server.sh
+++ b/stress-server.sh
@@ -4,12 +4,13 @@ ROOT=$(dirname $0)
echo ROOT=$ROOT
cd $ROOT
+pwd
AFB=build/src/afb-daemon
HELLO=build/bindings/samples/helloWorld.so
PORT=12345
TEST=test
-TOKEN=knock-knock-knoc
+TOKEN=knock-knock-knock
OUT=stress-out-server
rm $OUT*
@@ -26,6 +27,7 @@ case "$1" in
esac
+echo $AFB $ARGS $@
echo -n launch afb...
case "$1" in
gdb) shift; gdb $AFB -ex "run $ARGS $@";;