tests/eventscripts: New tests for 00.ctdb "init" event
commit3b2f7330cc333a55684753bf2c7b0fb8c8c72678
authorMartin Schwenke <martin@meltin.net>
Tue, 18 Jun 2013 05:07:26 +0000 (18 15:07 +1000)
committerMartin Schwenke <martin@meltin.net>
Thu, 20 Jun 2013 03:01:10 +0000 (20 13:01 +1000)
tree82eb8a487d67bd0bce964daf51dc84804ab68f01
parent4eed91b54a2c374a06c2275cbd8d4a50abbe9cdd
tests/eventscripts: New tests for 00.ctdb "init" event

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)
16 files changed:
ctdb/tests/eventscripts/00.ctdb.init.001.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.002.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.003.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.004.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.005.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.006.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.007.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.008.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.021.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.022.sh [new file with mode: 0755]
ctdb/tests/eventscripts/00.ctdb.init.023.sh [new file with mode: 0755]
ctdb/tests/eventscripts/scripts/local.sh
ctdb/tests/eventscripts/stubs/date [new file with mode: 0755]
ctdb/tests/eventscripts/stubs/ip
ctdb/tests/eventscripts/stubs/tdbdump [new file with mode: 0755]
ctdb/tests/eventscripts/stubs/tdbtool [new file with mode: 0755]