repo.or.cz
/
samba4-gss.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drsuapi.idl: fix source_dsa spelling
[samba4-gss.git]
/
ctdb
/
tests
/
UNIT
/
cunit
/
comm_test_002.sh
blob
a2fbf5189be96f5a00b2fb3960bed84a58b339b3
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
socket
=
"
${CTDB_TEST_TMP_DIR}
/test_sock.$$"
6
num_clients
=
10
7
8
remove_socket
()
9
{
10
rm
-f
"
$socket
"
11
}
12
13
test_cleanup remove_socket
14
15
ok_null
16
17
unit_test comm_server_test
"
$socket
"
$num_clients
&
18
pid
=
$
!
19
20
for
i
in
$
(
seq
1
$num_clients
) ;
do
21
unit_test comm_client_test
"
$socket
"
22
done
23
24
wait
$pid