3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"list nodes via command"
7 cat > "${CTDB_BASE}/ctdb.conf" <<EOF
9 nodes list = !${CTDB_BASE}/nodes.sh
11 test_cleanup
rm -rf "${CTDB_BASE}/ctdb.conf"
13 cat > "${CTDB_BASE}/nodes.sh" <<EOF
19 test_cleanup
rm -rf "${CTDB_BASE}/nodes.sh"
20 chmod +x
"${CTDB_BASE}/nodes.sh"
22 required_result
0 <<EOF