6 AFB=$ROOT/build/src/afb-daemon
7 HELLO=build/bindings/samples/helloWorld.so
10 TOKEN=knock-knock-knoc
11 OUT=$ROOT/stress-out-server
15 ARGS="-q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO"
19 gdb) shift; gdb $AFB -ex "run $ARGS $@";;
20 valgrind) shift; valgrind --leak-check=full $AFB $ARGS $@ 2>&1 | tee $OUT;;
21 strace) shift; strace -tt -f -o $OUT.strace $AFB $ARGS $@ 2>&1 | tee $OUT;;
22 *) $AFB $ARGS $@ 2>&1 | tee $OUT;;
24 #$AFB -q --session-max=100 --port=$PORT --workdir=$ROOT --roothttp=$TEST --token=$TOKEN --ldpaths=/tmp --binding=$HELLO > $OUT.0 2>&1 &
26 #strace -tt -f -o $OUT-strace.0 -p $afbpid &