Remove useless configure checks
[libmodbus.git] / tests / unit-tests.sh
blob37f716f3af7a3d080c97bc256d1cbb0e12c79d6d
1 #!/bin/sh
3 client_log=unit-test-client.log
4 server_log=unit-test-server.log
6 rm -f $client_log $server_log
8 echo "Starting server"
9 ./unit-test-server > $server_log 2>&1 &
11 sleep 1
13 echo "Starting client"
14 ./unit-test-client > $client_log 2>&1
15 rc=$?
17 killall unit-test-server
18 exit $rc