ctdb-tests: Log to stderr in statd-callout tests
commit6e4c7ae9a2e2be4375a33e7361b8748f9307dbfe
authorMartin Schwenke <mschwenke@ddn.com>
Sun, 16 Jul 2023 10:55:57 +0000 (16 20:55 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 19 Jul 2023 09:57:37 +0000 (19 09:57 +0000)
treeaef7a8f7a070719d1deb56449286a5b295cad6fd
parentef15a34d5dd0d90e52f0fc76123077bebba949e9
ctdb-tests: Log to stderr in statd-callout tests

Errors logged when testing statd-callout don't currently go anywhere.
This is because arguments to the hacked version of script_log() are
ignored.

Remove the hack and configure logging to stderr.

This could go in the local statd-callout.sh setup script.  However,
make it available for other script tests.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Jul 19 09:57:37 UTC 2023 on atb-devel-224
ctdb/tests/UNIT/eventscripts/etc-ctdb/rc.local
ctdb/tests/UNIT/eventscripts/scripts/local.sh