source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.003.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: 515 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, missing 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
19rm "$CTDB_NODES_1"
20
21required_result 255 <<EOF
22Failed to read nodes file "${CTDB_NODES_1}"
23ERROR: Failed to get nodes file from node 1
24EOF
25
26simple_test <<EOF
27NODEMAP
280 192.168.20.41 0x0 CURRENT RECMASTER
291 192.168.20.42 0x0
302 192.168.20.43 0x0
31
32VNNMAP
33654321
340
351
362
37EOF
Note: See TracBrowser for help on using the repository browser.