source: vendor/current/ctdb/tests/tool/stubby.xpnn.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: 381 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "missing nodes file"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10192.168.20.43
11EOF
12
13rm -f "$CTDB_NODES"
14
15required_result 255 <<EOF
16${TEST_DATE_STAMP}Failed to read nodes file "${CTDB_NODES}"
17EOF
18
19simple_test <<EOF
20NODEMAP
210 192.168.20.41 0x0 CURRENT
221 192.168.20.42 0x0
232 192.168.20.43 0x0
24EOF
Note: See TracBrowser for help on using the repository browser.