ctdb-tests: Clean up PATH setting for stubs/ subdirectory
authorMartin Schwenke <martin@meltin.net>
Tue, 6 Feb 2018 05:41:36 +0000 (16:41 +1100)
committerMartin Schwenke <martins@samba.org>
Thu, 1 Mar 2018 18:39:14 +0000 (19:39 +0100)
commit99350c18aadb0345051f9a21111da1cae3eabe55
tree4a3892cf67b3cc617a5120d756a492bfe62948b4
parent5537b36817925cb00ef142d5c7a17f5336133eed
ctdb-tests: Clean up PATH setting for stubs/ subdirectory

Drop unnecessary PATH setting in rc.local. The functions file no
longer sets PATH so setting it here is unnecessary.  Fix a comment
referencing this PATH setting.

Given EVENTSCRIPTS_PATH is no longer used, use a more obvious variable
name and fail on missing stubs/ subdirectory.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/etc-ctdb/rc.local
ctdb/tests/eventscripts/scripts/local.sh