source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.012.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: 527 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, delete last node"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10#192.168.20.43
11EOF
12
13required_result 0 <<EOF
14Node 0 is unchanged
15Node 1 is unchanged
16Node 2 is DELETED
17Reloading nodes file on node 0
18Reloading nodes file on node 1
19ctdb_ctrl_reload_nodes_file: node 0
20ctdb_ctrl_reload_nodes_file: node 1
21EOF
22
23simple_test <<EOF
24NODEMAP
250 192.168.20.41 0x0 CURRENT RECMASTER
261 192.168.20.42 0x0
272 192.168.20.43 0x1
28
29VNNMAP
30654321
310
321
33EOF
Note: See TracBrowser for help on using the repository browser.