repo.or.cz
/
Samba
/
wip.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
autorid: initialize: store config directly before allocating well knowns.
[Samba/wip.git]
/
ctdb
/
tests
/
onnode
/
0080.sh
blob
bca478ada5f8650aea6928004b0d30be2fa5eeed
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
cmd
=
"
$ONNODE
recmaster hostname"
6
7
define_test
"
$cmd
"
"node 1 (192.168.1.102) is recmaster"
8
9
ctdb_set_output
<<EOF
10
1
11
EOF
12
13
required_result
<<EOF
14
-n 192.168.1.102 hostname
15
EOF
16
17
simple_test
$cmd