ctdb-tests: run_tests.sh sets evironment variable CTDB_TEST_DIR
authorMartin Schwenke <martin@meltin.net>
Thu, 3 Aug 2017 10:36:57 +0000 (20:36 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 14 Aug 2017 03:15:25 +0000 (05:15 +0200)
commitac1b1d8c8a65e048c605d73f58dc22785f78181d
treef1819736d2d9975e7030bd7c31b49455fb66d37c
parente2c0fd36ba54d984b554248aecffd3e4e7f43e1f
ctdb-tests: run_tests.sh sets evironment variable CTDB_TEST_DIR

Instead of just local variable test_dir.  The environment variable can
be accessed from other test infrastructure scripts.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/run_tests.sh
ctdb/wscript