repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pam_wrapper: use uintptr_t as base for const-discarding
[Samba.git]
/
ctdb
/
tests
/
tool
/
ctdb.listnodes.001.sh
blob
faf99c89a2b60cd402e12469650c42eb00c94e1a
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
1
<<EOF
16
${TEST_DATE_STAMP}
Failed to read nodes file "
${CTDB_NODES}
"
17
EOF
18
19
simple_test