Ticket #4822: demo.sh

File demo.sh, 225 bytes (added by nickm, 9 years ago)
Line 
1#!/bin/sh
2
3make || exit 1
4PORT=9998
5
6for server in m3T mT T; do
7    for client in m3T mT T m3 m2; do
8       ./demoprog server $server $PORT &
9       sleep 1
10       ./demoprog client $client $PORT
11       sleep 1
12    done
13done