Skip to content
Snippets Groups Projects
Commit bef133d4 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Modify rekey so that the last 2 commands run in parallel and can respond to...

Modify rekey so that the last 2 commands run in parallel and can respond to each others rekey requests
parent 15e9209f
No related branches found
No related tags found
2 merge requests!68Master merge,!11Release
...@@ -547,12 +547,12 @@ CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/ ...@@ -547,12 +547,12 @@ CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/
eval $CLIENTCMD >> $CLIENTOUT/client100.txt || true & eval $CLIENTCMD >> $CLIENTOUT/client100.txt || true &
PIDVAL=$! PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL" echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
# And receive those messages sent to us # And receive those messages sent to us
CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 0 --receiveCount 20" CLIENTCMD="timeout 420s ../bin/client $CLIENTREKEYOPTS $REKEYOPTS -l $CLIENTOUT/client101.log -s blob101 --destid b64:$JAKEID --sendCount 0 --receiveCount 20"
eval $CLIENTCMD >> $CLIENTOUT/client101.txt || true & eval $CLIENTCMD >> $CLIENTOUT/client101.txt || true &
PIDVAL2=$! PIDVAL2=$!
echo "$CLIENTCMD -- $PIDVAL" echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
wait $PIDVAL2 wait $PIDVAL2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment