KCC: explicit None check in refresh_failed_links_connections()
[Samba.git] / ctdb / tests / eventscripts / 00.ctdb.init.008.sh
bloba6afdd8671ff0aa0eec922072ae48d697a2d1177
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "TDB check, tdbtool supports check, bad persistent TDB"
7 setup_ctdb
9 FAKE_TDBTOOL_SUPPORTS_CHECK="yes"
11 db="${CTDB_DBDIR}/persistent/foo.tdb.0"
12 touch "$db"
13 FAKE_TDB_IS_OK="no"
15 required_result 1 <<EOF
16 Persistent database ${db} is corrupted! CTDB will not start.
17 EOF
19 simple_test