source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.018.sh

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 678 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, add a 3 nodes"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10192.168.20.43
11192.168.20.44
12192.168.20.45
13192.168.20.46
14EOF
15
16required_result 0 <<EOF
17Node 0 is unchanged
18Node 1 is unchanged
19Node 2 is unchanged
20Node 3 is NEW
21Node 4 is NEW
22Node 5 is NEW
23Reloading nodes file on node 0
24Reloading nodes file on node 1
25Reloading nodes file on node 2
26ctdb_ctrl_reload_nodes_file: node 0
27ctdb_ctrl_reload_nodes_file: node 1
28ctdb_ctrl_reload_nodes_file: node 2
29EOF
30
31simple_test <<EOF
32NODEMAP
330 192.168.20.41 0x0 CURRENT RECMASTER
341 192.168.20.42 0x0
352 192.168.20.43 0x0
36
37VNNMAP
38654321
390
401
412
42EOF
Note: See TracBrowser for help on using the repository browser.