]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: add a comment to the generated public_addresses file used by eventscript...
authorRalph Boehme <slow@samba.org>
Fri, 8 Oct 2021 03:58:37 +0000 (05:58 +0200)
committerMartin Schwenke <martins@samba.org>
Tue, 12 Oct 2021 22:38:32 +0000 (22:38 +0000)
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>
ctdb/tests/UNIT/eventscripts/scripts/local.sh

index 0f78fcb3845e7eede9a11f95145dcf85229f671f..7460bf9748e8341e109dd4a735364d8a4917e21c 100644 (file)
@@ -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