1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb
Martin Schwenke e8c5d0e25e ctdb-tests: Fix logic to handle PATH additions for tests
When using non-standard test subdirectories, the current code can fail
to find the test bin directory and stupidly just adds /bin to PATH.

Switch to using CTDB_TESTS_ARE_INSTALLED along with some sanity checks
to determine the mode of operation.

With this change, test directories can now be created as
subdirectories of arbitrary component directories.  Tests can then be
run directly, either by specifying the subdirectory or individual test
cases.

Integration into the top-level tests/ directory is then done via a
symbolic link, which enables 2 things:

* Ability to run a directory of test cases from top level by simply
  specifying the link name.

* Ease of installation - the installation code just works with the
  symbolic link.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2017-08-14 05:15:25 +02:00
..
client ctdb-client: Add db support for CTDB_DB_FLAGS_REPLICATED 2017-06-29 10:34:27 +02:00
common ctdb-common: Reimplement pidfile_context_create() using pidfile_path_create() 2017-08-02 07:28:44 +02:00
config ctdb-scripts: Fix a typo 2017-07-23 15:38:10 +02:00
doc ctdb: enable mutexes for volatile TDBs by default 2017-07-12 09:01:17 +02:00
ib ctdb-ib: Fix DEBUG log messages 2016-08-10 08:18:16 +02:00
include ctdb-daemon: Pass db_flags instead of passing persistent flag 2017-06-29 10:34:27 +02:00
packaging/RPM ctdb-packaging: Remove mkversion.sh script 2017-05-24 17:03:28 +02:00
protocol ctdb-protocol: Add marshalling for CTDB_CONTROL_DB_ATTACH_REPLICATED control 2017-06-29 10:34:27 +02:00
server ctdb-takeover: Do not call ctdb_announce_vnn_iface() for updateip 2017-08-10 06:43:13 +02:00
tcp ctdb-tcp: Fix CID 1362724 Unchecked return value from library 2016-08-17 23:00:25 +02:00
tests ctdb-tests: Fix logic to handle PATH additions for tests 2017-08-14 05:15:25 +02:00
tools ctdb-tools: Allow attach for replicated databases 2017-06-29 10:34:27 +02:00
utils ctdb-client: Move sync API to a separate header 2017-06-07 16:05:27 +02:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +11:00
configure ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
configure.rpm ctdb-packaging: Package private libraries 2015-07-01 07:19:43 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile ctdb-build: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-tests: run_tests.sh sets evironment variable CTDB_TEST_DIR 2017-08-14 05:15:25 +02:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.