3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"TDB check, tdbtool does not support check, bad TDB"
9 FAKE_TDBTOOL_SUPPORTS_CHECK
="no"
11 db
="${CTDB_DBDIR}/foo.tdb.0"
15 FAKE_DATE_OUTPUT
="19690818.103000.000000001"
18 WARNING: The installed 'tdbtool' does not offer the 'check' subcommand.
19 Using 'tdbdump' for database checks.
20 Consider updating 'tdbtool' for better checks!
21 WARNING: database ${db} is corrupted.
22 Moving to backup ${db}.${FAKE_DATE_OUTPUT}.corrupt for later analysis.