From: Martin Schwenke Date: Wed, 2 May 2018 08:38:41 +0000 (+1000) Subject: ctdb-tests: Clean up tests to not expose script options X-Git-Tag: ldb-1.4.0~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60811d62e5cd37a7aece7d9c63c9434069e76365;p=thirdparty%2Fsamba.git ctdb-tests: Clean up tests to not expose script options The tests still use the script options but the event scripts no longer see them exported from the test infrastructure. Testing now depends on the event scripts successfully fetching the options from the configuration file. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/eventscripts/scripts/01.reclock.sh b/ctdb/tests/eventscripts/scripts/01.reclock.sh index 34f10a5a42a..a7094317a11 100644 --- a/ctdb/tests/eventscripts/scripts/01.reclock.sh +++ b/ctdb/tests/eventscripts/scripts/01.reclock.sh @@ -9,7 +9,7 @@ cleanup_reclock () setup () { - export CTDB_RECOVERY_LOCK="${EVENTSCRIPTS_TESTS_VAR_DIR}/rec.lock" + CTDB_RECOVERY_LOCK="${EVENTSCRIPTS_TESTS_VAR_DIR}/rec.lock" cat >>"${CTDB_BASE}/ctdb.conf" <>"${CTDB_BASE}/ctdb.conf" <