summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/13.per_ip_routing.018.sh
Commit message (Collapse)AuthorAgeFilesLines
* eventscripts: Simplify handling of $service name in "managed" functionsMartin Schwenke2013-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | Complicated argument handling was introduced to deal with multiple services per eventscript. This was a failure and we split 50.samba. This simplifies several functions to use global $service_name unconditionally instead of having an optional argument. $service_name is no automatically longer set in the functions file. This means it needs to be explicitly set in 13.per_ip_routing because this script uses ctdb_service_check_reconfigure(). Eventscript unit test infrastructure needs to set $service_name during fake service setup, and policy routing tests need to be updated accordingly. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 27aab8783898a50da8c4bc887b512d8f0c0d842c)
* tests/eventscripts: add unit tests for policy routing reconfigureMartin Schwenke2012-10-111-0/+22
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit bd4ff176387372b1c233373c0bc8ced523fc9670)