git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
152d230023307d09b780cc4c00d8e02b8ec504b9
[vlendec/samba-autobuild/.git]
/
ctdb
/
tests
/
tool
/
stubby.xpnn.003.sh
1
#!/bin/sh
2
3
. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5
define_test "missing nodes file"
6
7
setup_nodes <<EOF
8
192.168.20.41
9
192.168.20.42
10
192.168.20.43
11
EOF
12
13
rm -f "$CTDB_NODES"
14
15
required_result 255 <<EOF
16
DATE TIME [PID]: Failed to read nodes file
17
EOF
18
19
simple_test <<EOF
20
NODEMAP
21
0 192.168.20.41 0x0 CURRENT
22
1 192.168.20.42 0x0
23
2 192.168.20.43 0x0
24
EOF