autorid: initialize: store config directly before allocating well knowns.
[Samba/wip.git] / ctdb / tests / onnode / 0080.sh
blobbca478ada5f8650aea6928004b0d30be2fa5eeed
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 cmd="$ONNODE recmaster hostname"
7 define_test "$cmd" "node 1 (192.168.1.102) is recmaster"
9 ctdb_set_output <<EOF
11 EOF
13 required_result <<EOF
14 -n 192.168.1.102 hostname
15 EOF
17 simple_test $cmd