Test suite: new tests and code factoring.
authorMartin Schwenke <martin@meltin.net>
Wed, 8 Jul 2009 03:37:52 +0000 (13:37 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 8 Jul 2009 03:37:52 +0000 (13:37 +1000)
commitde0b58e18fcc0f90075fca74077ab62ae8dab5da
treea4b0dfafa8118d1410e0b01848b0b77c852b38f1
parentee7caae3a55a64fb50cd28fa2fd4663c5dd83b4f
Test suite: new tests and code factoring.

* 2 new tests for NFS failover.

* Factor repeated code from tests into new functions
  select_test_node_and_ips(), gratarp_sniff_start() and
  gratarp_sniff_wait_show().  Use these new functions in existing and
  new tests.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/complex/31_nfs_tickle.sh
tests/complex/32_cifs_tickle.sh
tests/complex/33_gratuitous_arp.sh
tests/complex/41_failover_ping_discrete.sh
tests/complex/42_failover_ssh_hostname.sh
tests/complex/43_failover_nfs_basic.sh [new file with mode: 0755]
tests/complex/44_failover_nfs_oneway.sh [new file with mode: 0755]
tests/scripts/ctdb_test_functions.bash
tests/simple/31_ctdb_disable.sh
tests/simple/32_ctdb_enable.sh