eventscripts: Add modulo (%) operator to ctdb_check_counter()
authorMartin Schwenke <martin@meltin.net>
Fri, 2 Aug 2013 05:18:47 +0000 (15:18 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 14 Aug 2013 05:57:03 +0000 (15:57 +1000)
commit0ca046577f87b2d12403a7e40ea36994fa553340
treee33143e564330e1e16bac1b31e160a3c1fb1ea20
parentbdbe37b24fef22c795531e1aba81e5baee6e5916
eventscripts: Add modulo (%) operator to ctdb_check_counter()

Also add it to the corresponding eventscript unit test infrastructure.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit f4ef83a256f59eeb00b9a5bc10c28347e1ad1031)
ctdb/config/functions
ctdb/tests/eventscripts/scripts/local.sh