1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Martin Schwenke
7c939e5fbf Testing: Add Python IP allocation simulation.
Includes simulation module and example scenarios.  This allows you to
test and perhaps tweak an algorithm that should be the same as the
current CTDB IP reallocation one.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 10e701fa9bba2a166c947a5a18f231ff64d9b861)
2010-07-30 16:45:36 +10:00
Ronnie Sahlberg
0f70c47008 From Mathieu Parent <math.parent@gmail.com>
Install the pkgconfig file

(This used to be ctdb commit 7c4389cc0baa43a0ffa9fb08944c253db7885807)
2009-04-08 09:21:11 +10:00
Martin Schwenke
580113c2a9 Git should ignore the test_trigger event script.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 80dc86320dde7cc81db8c8fde97cfcbac7914920)
2009-01-16 14:17:04 +11:00
Martin Schwenke
2e87ed4e9d Test binaries now go in tests/bin and ctdb_test_env now adds this
directory to $PATH if local daemons are being used.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit a497010f67d6a8e68f4d6d7e516b88d2261b1062)
2009-01-09 18:15:06 +11:00
Martin Schwenke
734f3ada52 Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.
Move setting of $CTDB_NODES_SOCKETS to tests/scripts/run_tests and
make it only happen if $CTDB_TEST_REAL_CLUSTER is not set.  Bugfix in
function ips_are_on_nodeglob.  New/proper implementations of functions
stop_daemons and start_daemons, now called by function restart_ctdb.
In start_daemons.sh, add public addresses file generation/usage, use
new option --nopublicipcheck to ctdbd to avoid crazy behaviour and
kill ctdbd more carefully to avoid killing real daemons on a real
cluster - this should be able to coexist on a node of a real cluster.
start_daemons.sh is temporarily incompatible with start_daemons
function, but expecting to replace that script with function calls
very soon anyway...

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 4c54772c5c2fa7d2a25963379b5b96caf0c2521c)
2008-11-21 19:01:48 +11:00
Martin Schwenke
d741559fa6 Add some simple tests that can be run from within the tree.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit eacb2ef82ea4809d874158756db973dd1e3fc8fc)
2008-11-20 20:40:01 +11:00
Andrew Tridgell
e2fa62c390 ignore some autogenerated test files
(This used to be ctdb commit 63ac38a0c5bc81c42db67b86485a9cccd6af8a19)
2008-01-29 14:00:16 +11:00
Andrew Tridgell
8d7c9ee47b added an ignore file
(This used to be ctdb commit 33521ed8300ebf32fb3d9c041d8217e3b8744b73)
2008-01-29 11:46:09 +11:00