Skip to content
Snippets Groups Projects
Commit 47155233 authored by Rick Carback's avatar Rick Carback
Browse files

Add specific session file

parent 6911d17a
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,9 @@ runclients() {
do
nid=$((($cid % 4) + 1))
eval NICK=\${NICK${cid}}
# Send a channel message
# Send a regular message
CLIENTCMD="timeout 10s ../bin/client -f blob$cid$nid --numnodes 5 -s $LASTNODE -i $cid -d $nid -m \"Hello, $nid\" --nick $NICK"
eval $CLIENTCMD >> $CLIENTOUT/client$cid$nid.out 2>&1 &
RETVAL=$!
......@@ -88,13 +91,13 @@ runclients() {
# Start a channelbot server
../bin/client channelbot -v -i 31 --nick "#general" --numnodes 5 -s $LASTNODE \
--noratchet --noBlockingTransmission \
--noratchet --noBlockingTransmission -f blobchannel \
2>&1 > $CHANNELOUT &
# Start a dummy client
../bin/client -i 35 -d 35 -s $LASTNODE --numnodes 5 -m "dummy" --nick "dummy" \
--dummyfrequency 1 --noratchet --noBlockingTransmission \
2>&1 > $DUMMYOUT &
-f blobdummy 2>&1 > $DUMMYOUT &
echo "RUNNING CLIENTS..."
runclients
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment