1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-tests: add a comment to the generated public_addresses file used by eventscript UNIT tests

test stub code has been updated to handle this, so now let's put it
to work.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14826
RN: Correctly ignore comments in CTDB public addresses file

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 4e3676cb3c)

Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Mon Oct 18 08:41:16 UTC 2021 on sn-devel-184
This commit is contained in:
Ralph Boehme 2021-10-08 05:58:37 +02:00 committed by Jule Anger
parent c10d288035
commit 44636fa037

View File

@ -281,6 +281,7 @@ setup_public_addresses ()
echo "Setting up public addresses in ${_f}" echo "Setting up public addresses in ${_f}"
cat >"$_f" <<EOF cat >"$_f" <<EOF
# This is a comment
10.0.0.1/24 dev123 10.0.0.1/24 dev123
10.0.0.2/24 dev123 10.0.0.2/24 dev123
10.0.0.3/24 dev123 10.0.0.3/24 dev123