ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git] / ctdb / tests / UNIT / tool / ctdb.stop.003.sh
blob3e4981c0f05331826a3ba2af53e922062571004d
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "node is already stopped"
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 0x20
12 EOF
14 ok "Node 2 is already stopped"
15 simple_test -n 2
17 required_result 32 <<EOF
18 Number of nodes:3
19 pnn:0 192.168.20.41 OK (THIS NODE)
20 pnn:1 192.168.20.42 OK
21 pnn:2 192.168.20.43 STOPPED|INACTIVE
22 EOF
23 simple_test_other nodestatus all