ctdb/tests/integration: Update NFS tickles test and supporting code
authorMartin Schwenke <martin@meltin.net>
Thu, 28 Nov 2013 05:43:55 +0000 (16:43 +1100)
committerMichael Adam <obnox@samba.org>
Wed, 4 Dec 2013 23:39:21 +0000 (00:39 +0100)
commitef0e8cc1928dbd12c862a5e96710471ce3b4d023
tree10570310328633a6d696d2e42090a2d000847f9f
parentde55856745da2bae4b3d9cb4b293b4ebfb4a67ef
ctdb/tests/integration: Update NFS tickles test and supporting code

This currently requires an eventscript to be dynamically installed.
This eventscript is only used to help determine when a monitor event
has occurred.  This code is horrible and fragile.

A better way is to just monitor the output of "ctdb scriptstatus".
When changes it changes then a monitor event has occurred.

Also remove the old code that checks for tickle information in shared
storage.  CTDB hasn't done things this way for a long time.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/tests/complex/31_nfs_tickle.sh
ctdb/tests/scripts/integration.bash