------------------ A Simple Test Plan - script version ------------------ -Ian! D. Allen - idallen@idallen.ca I recommend using a shell script test_plan.sh to create an automated test plan; so, you don't have to redo all the tests manually every time you change your client/server. Since your client treats each input line as a separate message, you can automate testing of your client/server using a shell script that contains your test inputs as "here" documents ("man bash"). #!/bin/sh -u # This script might be named test_plan.sh # This script runs tests against the $CLIENT in the current directory. CLIENT=./client # name of client executable SERVERIP=10.50.15.101 # server IP address PORT=5000 # server port RUN=" $CLIENT $SERVERIP $PORT " # how to run the client CLIENTIP=10.50.15.102 # valid IP of another client for /msg SLEEP=2 # seconds to sleep between tests echo "==============================================================" echo "Test 1: a regular message broadcast to all clients" echo "==============================================================" cat <