auth/common: add support for auth4_ctx->check_ntlm_password_send/recv()
[Samba.git] / ctdb / tests / tool / ctdb.ip.007.sh
blobcb7939d350704008e4d1fbf6f4397b3a8b601e8d
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all ok, same ips on all nodes, IPv6, 1 unassigned"
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
13 IFACES
14 :Name:LinkStatus:References:
15 :eth2:1:2:
16 :eth1:1:4:
18 PUBLICIPS
19 10.0.0.31 0
20 fd00::5357:5f01 2
21 10.0.0.32 -1
22 fd00::5357:5f02 1
23 10.0.0.33 2
24 fd00::5357:5f03 0
25 EOF
27 required_result 0 <<EOF
28 Public IPs on ALL nodes
29 10.0.0.31 node[0] active[eth2] available[eth2,eth1] configured[eth2,eth1]
30 10.0.0.32 node[-1] active[] available[] configured[]
31 10.0.0.33 node[2] active[eth2] available[eth2,eth1] configured[eth2,eth1]
32 fd00::5357:5f01 node[2] active[eth2] available[eth2,eth1] configured[eth2,eth1]
33 fd00::5357:5f02 node[1] active[eth2] available[eth2,eth1] configured[eth2,eth1]
34 fd00::5357:5f03 node[0] active[eth2] available[eth2,eth1] configured[eth2,eth1]
35 EOF
36 simple_test -v all