autorid: initialize: store config directly before allocating well knowns.
[Samba/wip.git] / ctdb / tests / onnode / 0002.sh
blobc3c8c77a0ed3693c002ceb650fbe9922b3aef53c
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 cmd="$ONNODE -q all hostname"
7 define_test "$cmd" "all nodes OK"
9 required_result <<EOF
10 -n 192.168.1.101 hostname
11 -n 192.168.1.102 hostname
12 -n 192.168.1.103 hostname
13 -n 192.168.1.104 hostname
14 EOF
16 simple_test $cmd