source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.020.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: 591 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, delete last, add 2 nodes"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10#192.168.20.43
11192.168.20.44
12192.168.20.45
13EOF
14
15required_result 0 <<EOF
16Node 0 is unchanged
17Node 1 is unchanged
18Node 2 is DELETED
19Node 3 is NEW
20Node 4 is NEW
21Reloading nodes file on node 0
22Reloading nodes file on node 1
23ctdb_ctrl_reload_nodes_file: node 0
24ctdb_ctrl_reload_nodes_file: node 1
25EOF
26
27simple_test <<EOF
28NODEMAP
290 192.168.20.41 0x0 CURRENT RECMASTER
301 192.168.20.42 0x0
312 192.168.20.43 0x1
32
33VNNMAP
34654321
350
361
37EOF
Note: See TracBrowser for help on using the repository browser.