ctdb-ipalloc: Pass extra data to IP allocation state initialisation
[vlendec/samba-autobuild/.git] / ctdb / tests / tool / ctdb.getcapabilities.003.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "3 nodes, current disconnected"
6
7 required_result 1 <<EOF
8 ../client/ctdb_client.c:293 Failed to connect client socket to daemon. Errno:No such file or directory(2)
9 ../common/cmdline.c:167 Failed to connect to daemon
10 Failed to init ctdb
11 Failed to detect which PNN this node is
12 Is this node part of a CTDB cluster?
13 EOF
14
15 setup_nodes <<EOF
16 192.168.20.41
17 192.168.20.42
18 192.168.20.43
19 EOF
20
21 simple_test <<EOF
22 NODEMAP
23 0       192.168.20.41   0x1     CURRENT RECMASTER
24 1       192.168.20.42   0x0
25 2       192.168.20.43   0x0
26
27 IFACES
28 :Name:LinkStatus:References:
29 :eth2:1:2:
30 :eth1:1:4:
31
32 VNNMAP
33 654321
34 0
35 1
36 2
37 EOF