mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
3b2f7330cc
These test dropping of IPs and TDB checking. New stubs for date, tdbdump, tdbtool. Enhance ip stub to handle "ip addr show to ..." Tweak some infrastructure. Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit aabf0bf41cb8ec344f06b69492fb6c2a27f9e900)
17 lines
247 B
Bash
Executable File
17 lines
247 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "TDB check, tdbtool supports check, good persistent TDB"
|
|
|
|
setup_ctdb
|
|
|
|
FAKE_TDBTOOL_SUPPORTS_CHECK="yes"
|
|
|
|
touch "${CTDB_DBDIR}/persistent/foo.tdb.0"
|
|
FAKE_TDB_IS_OK="yes"
|
|
|
|
ok_null
|
|
|
|
simple_test
|