repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pam_wrapper: use uintptr_t as base for const-discarding
[Samba.git]
/
ctdb
/
tests
/
tool
/
ctdb.ping.001.sh
blob
1e6d7c1808cb4b976a45ec730c15ddeeca968634
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"simple ping"
6
7
setup_ctdbd
<<EOF
8
NODEMAP
9
0 192.168.20.41 0x0 CURRENT RECMASTER
10
1 192.168.20.42 0x0
11
2 192.168.20.43 0x0
12
EOF
13
14
result_filter
()
15
{
16
sed
-e
"s@=[.0-9]* sec@=NUM sec@"
17
}
18
19
20
ok
<<EOF
21
response from 0 time=NUM sec (1 clients)
22
EOF
23
24
simple_test