mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +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
)
This commit is contained in:
@ -282,6 +282,7 @@ setup_public_addresses ()
|
||||
|
||||
echo "Setting up public addresses in ${_f}"
|
||||
cat >"$_f" <<EOF
|
||||
# This is a comment
|
||||
10.0.0.1/24 dev123
|
||||
10.0.0.2/24 dev123
|
||||
10.0.0.3/24 dev123
|
||||
|
Reference in New Issue
Block a user