replmd: Use replmd_set_la_val() when adding new links
[Samba.git] / ctdb / tests / tool / ctdb.lvs.008.sh
bloba0e24b14afd8af76fcfc2c171abf16ffaca3df70
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, no LVS, current disconnected"
7 setup_nodes <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
13 setup_lvs <<EOF
14 EOF
16 setup_ctdbd <<EOF
17 NODEMAP
18 0 192.168.20.41 0x1 CURRENT RECMASTER
19 1 192.168.20.42 0x0
20 2 192.168.20.43 0x0
21 EOF
23 #####
25 required_result 1 <<EOF
26 connect() failed, errno=2
27 Failed to connect to CTDB daemon ($ctdbd_socket)
28 Failed to detect PNN of the current node.
29 Is this node part of CTDB cluster?
30 EOF
32 simple_test list
34 #####
36 required_result 1 <<EOF
37 connect() failed, errno=2
38 Failed to connect to CTDB daemon ($ctdbd_socket)
39 Failed to detect PNN of the current node.
40 Is this node part of CTDB cluster?
41 EOF
43 simple_test master
45 #####
47 required_result 1 <<EOF
48 connect() failed, errno=2
49 Failed to connect to CTDB daemon ($ctdbd_socket)
50 Failed to detect PNN of the current node.
51 Is this node part of CTDB cluster?
52 EOF
54 simple_test list
56 #####
58 required_result 1 <<EOF
59 connect() failed, errno=2
60 Failed to connect to CTDB daemon ($ctdbd_socket)
61 Failed to detect PNN of the current node.
62 Is this node part of CTDB cluster?
63 EOF
65 simple_test status