| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | client_log=unit-test-client.log |
| 4 | server_log=unit-test-server.log |
| 5 | |
| 6 | rmscip-shell system . . rm. -f $client_log $server_log |
| 7 | |
| 8 | echoscip-shell system . . echo. "Starting server" |
| 9 | ./unit-test-server > $server_log 2>&1 & |
| 10 | |
| 11 | sleepscip-shell system . . sleep. 1 |
| 12 | |
| 13 | echoscip-shell system . . echo. "Starting client" |
| 14 | ./unit-test-client > $client_log 2>&1 |
| 15 | rc=$? |
| 16 | |
| 17 | killall unit-test-server |
| 18 | exit $rc |
| 19 |