From: Mark Andrews Date: Wed, 18 Jun 2025 02:49:04 +0000 (+1000) Subject: Preserve brackets around string concatenation X-Git-Tag: v9.20.11~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=072f5d00099e221f7704d00d650bd653be064f8b;p=thirdparty%2Fbind9.git Preserve brackets around string concatenation We need disable clang-format here to preserve the brackets around the string concatenation to prevent -Wstring-concatenation -Werror breaking the build. (cherry picked from commit eeafcee7ad07ae793602a3640b7f05d3cb26ff9f) --- diff --git a/tests/dns/private_test.c b/tests/dns/private_test.c index a7c5a291eb5..f65408bdd06 100644 --- a/tests/dns/private_test.c +++ b/tests/dns/private_test.c @@ -190,8 +190,10 @@ ISC_RUN_TEST_IMPL(private_nsec3_totext) { const char *results[] = { "Creating NSEC3 chain 1 0 1 BEEF", "Creating NSEC3 chain 1 1 10 DADD", "Pending NSEC3 chain 1 0 20 BEAD", + /* clang-format off */ ("Removing NSEC3 chain 1 0 30 DEAF / " "creating NSEC chain"), + /* clang-format on */ "Removing NSEC3 chain 1 0 100 FEEDABEE" }; int ncases = 5;