1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

ctdb-tests: Drop ps_ctdbd()

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>
This commit is contained in:
Martin Schwenke 2018-09-27 16:23:07 +10:00 committed by Amitay Isaacs
parent 83b3c5670d
commit a66a96934a
3 changed files with 0 additions and 14 deletions

View File

@ -66,5 +66,3 @@ try_command_on_node any $CTDB ipreallocate
echo "Good, that seems to work!"
echo
ps_ctdbd

View File

@ -34,8 +34,6 @@ daemons_start
wait_until_ready
ps_ctdbd
echo "Good, that seems to work!"
daemons_stop

View File

@ -220,16 +220,6 @@ _ctdb_start_all ()
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=""