ctdb-tests: Add -R option for local daemons to use recovery lock command
authorMartin Schwenke <martin@meltin.net>
Mon, 21 Jan 2019 01:13:29 +0000 (12:13 +1100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 19:29:12 +0000 (19:29 +0000)
commit75fcaea7251ea02bc8cd575e9ec6787e45fe72cd
tree0d4430745e3d7e3f1b9c70c2d0b321c7e4b41849
parent6ac4507654960829469f6dbd11cd729a9521a7e0
ctdb-tests: Add -R option for local daemons to use recovery lock command

Under the covers, a command is always used.  However, there is no way
of testing of the code path where a command is explicitly configured.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13800

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit e74f5243fcb7594939769c16f3c79ab167dd1227)
ctdb/tests/local_daemons.sh