diff options
| author | Martin Schwenke <martin@meltin.net> | 2012-04-24 10:25:50 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2012-04-27 15:42:42 +1000 |
| commit | 5b590dfa19bf49faf3d667fee7bfa04df3fcbbe5 (patch) | |
| tree | f2cc4fc64c3449d835b1e9d08e126d80220c7421 /ctdb/tests/onnode/scripts | |
| parent | 7ed438799044c186b55f9575415faa8fb702e521 (diff) | |
tests: Add a -V option to set new variable TEST_VAR_DIR
Part of preparation to be able to install the tests. The current var/
subdirectories will end up somewhere in /usr/local/ or /usr/ and we
don't want to put temporary files there.
This creates a temporary TEST_VAR_DIR by default.
If -V is specified then the given directory will be used as
TEST_VAR_DIR. This allows the current behaviour where individual
integration tests can be run against already-running daemons 9with
sockets and other stuff already created) to save time and trouble.
Yes, there are plans for a clean-up option... ;-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 8e4ec9a40bb7d392d7474b067a74fa121c069007)
Diffstat (limited to 'ctdb/tests/onnode/scripts')
0 files changed, 0 insertions, 0 deletions
