ctdb-daemon: Add an environment variable to set version
commit8c2ff3f2b52e679a8e14cf97b5dddd1927a20bd1
authorMartin Schwenke <martin@meltin.net>
Wed, 6 Feb 2019 02:57:00 +0000 (6 13:57 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 15 Mar 2019 05:17:14 +0000 (15 05:17 +0000)
treee16864c157c625eda8de2d596ad676ef5175b2a6
parent627a5cf1e717aab65b99eaba4e2efe78307adbf2
ctdb-daemon: Add an environment variable to set version

This can be used to test the version checking logic.  Cache the
version to avoid re-checking the environment variable each time.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
ctdb/server/ctdb_keepalive.c
ctdb/tests/README