This was used for debugging tests by ensuring that the arguments to
ctdbd were as expected. It no longer outputs anything useful because
ctdbd is now started without arguments.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
echo "Good, that seems to work!"
echo
-
-ps_ctdbd
wait_until_ready
-ps_ctdbd
-
echo "Good, that seems to work!"
daemons_stop
daemons_start
}
-ps_ctdbd ()
-{
- # If this fails to find processes then the tests fails, so
- # look at full command-line so this will work with valgrind.
- # Note that the output could be generated with pgrep's -a
- # option but it doesn't exist in older versions.
- ps -p $(pgrep -f '\<ctdbd\>' | xargs | sed -e 's| |,|g') -o args ww
- echo
-}
-
# onnode will use CTDB_BASES to help the ctdb tool connection to each
# daemon
export CTDB_BASES=""