From fa943272a590c14371e94d47cf529fa12f31ec1a Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 21 Nov 2016 15:24:22 +0100 Subject: Added some testing tools I had locally but never added to the repo. --- run.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 run.sh (limited to 'run.sh') diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..317b366 --- /dev/null +++ b/run.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +build_dir=/home/dennis/projects/cmix/build-cmix-Desktop-Default + +tmux new-session -s cmix -d +tmux send-keys -t cmix:0 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 node/node -f -n node2.local:9201 -c ../certs/cert1.pem -k ../certs/key1.pem -d ../certs/dh.pem --certdir ../certs" Enter +#tmux send-keys -t cmix:0 "r" Enter + +tmux new-window -t cmix:1 +tmux send-keys -t cmix:1 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 node/node -l -p 9201 -n node1.local:9200 -c ../certs/cert2.pem -k ../certs/key2.pem -d ../certs/dh.pem --certdir ../certs/" Enter +#tmux send-keys -t cmix:1 "r" Enter + +tmux new-window -t cmix:2 +tmux send-keys -t cmix:2 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 client/client --certdir ../certs -n node1.local:9200 node2.local:9201" Enter + +tmux new-window -t cmix:3 +tmux send-keys -t cmix:3 "cd ${build_dir} && LSAN_OPTIONS=report_objects=1 client/client --certdir ../certs -n node1.local:9200 node2.local:9201" Enter + +tmux attach +tmux kill-session -t cmix -- cgit v1.2.3-70-g09d2