diff --git a/ctdb/tests/eventscripts/etc-ctdb/statd-callout b/ctdb/tests/eventscripts/etc-ctdb/statd-callout deleted file mode 100755 index 51779bd7ba6..00000000000 --- a/ctdb/tests/eventscripts/etc-ctdb/statd-callout +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# For now, always succeed. - -exit 0 diff --git a/ctdb/tests/eventscripts/etc-ctdb/statd-callout b/ctdb/tests/eventscripts/etc-ctdb/statd-callout new file mode 120000 index 00000000000..dbd3c98791e --- /dev/null +++ b/ctdb/tests/eventscripts/etc-ctdb/statd-callout @@ -0,0 +1 @@ +../../../config/statd-callout \ No newline at end of file diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index 163a8fb3acb..fe4ae1eec3c 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -538,6 +538,65 @@ EOF ###################################################################### +ctdb_catdb_format_pairs () +{ + _count=0 + + while read _k _v ; do + _kn=$(echo -n "$_k" | wc -c) + _vn=$(echo -n "$_v" | wc -c) + cat <