Bug fixes for tests: simple/12_ctdb_getdebug.sh and scripts/test_wrap.
authorMartin Schwenke <martin@meltin.net>
Fri, 1 May 2009 07:40:45 +0000 (17:40 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 12 May 2009 04:44:30 +0000 (14:44 +1000)
commitea2ca769e1d1068fbbad843750b19acfd87360e0
treed5b2e466814e557260e49eb7928f48572dc6e7ea
parent1c31fea7432b870169fb839c1fbba5a33dec8e8a
Bug fixes for tests: simple/12_ctdb_getdebug.sh and scripts/test_wrap.

simple/12_ctdb_getdebug.sh now recognises output with multi-digit node
numbers.

Sharing the ctdb directory via NFS and testing on a real cluster by
setting CTDB_TEST_REAL_CLUSTER didn't work by default.  The fix is to
hack scripts/test_wrap so that it tries to find a valid bin directory
next to the directory containing it is in.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/scripts/test_wrap
tests/simple/12_ctdb_getdebug.sh