source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.002.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: 480 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, no change, inconsistent file on 1"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10192.168.20.43
11EOF
12
13setup_nodes 1 <<EOF
14192.168.20.41
15#192.168.20.42
16192.168.20.43
17EOF
18
19required_result 255 <<EOF
20ERROR: Node file on node 1 differs from current node (0)
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 0x0
28
29VNNMAP
30654321
310
321
332
34EOF
Note: See TracBrowser for help on using the repository browser.