repo.or.cz
/
libmodbus.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update comments about old O_NDELAY
[libmodbus.git]
/
tests
/
unit-tests.sh
blob
37f716f3af7a3d080c97bc256d1cbb0e12c79d6d
1
#!/bin/sh
2
3
client_log
=
unit-test-client.log
4
server_log
=
unit-test-server.log
5
6
rm
-f
$client_log $server_log
7
8
echo
"Starting server"
9
.
/
unit-test-server
>
$server_log
2
>&
1
&
10
11
sleep
1
12
13
echo
"Starting client"
14
.
/
unit-test-client
>
$client_log
2
>&
1
15
rc
=
$?
16
17
killall unit-test-server
18
exit
$rc
19