From: Viktor Szakats Date: Tue, 11 Nov 2025 20:51:06 +0000 (+0100) Subject: test557: avoid `&` symbol in test output to be XML-friendly X-Git-Tag: rc-8_18_0-1~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce329affa79c47aa7bb9496b979ebd4270343111;p=thirdparty%2Fcurl.git test557: avoid `&` symbol in test output to be XML-friendly Closes #19492 --- diff --git a/tests/data/test557 b/tests/data/test557 index b251a4b31e..dce8aff669 100644 --- a/tests/data/test557 +++ b/tests/data/test557 @@ -35,7 +35,7 @@ All curl_mprintf() signed long tests OK! All curl_mprintf() curl_off_t tests OK! All curl_mprintf() strings tests OK! All float strings tests OK! -All curl_mprintf() octal & hexadecimal tests OK! +All curl_mprintf() octal and hexadecimal tests OK! diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index 84f6120211..ba796f1ceb 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -1495,9 +1495,9 @@ static int test_oct_hex_formatting(void) #endif if(!errors) - curl_mprintf("All curl_mprintf() octal & hexadecimal tests OK!\n"); + curl_mprintf("All curl_mprintf() octal and hexadecimal tests OK!\n"); else - curl_mprintf("Some curl_mprintf() octal & hexadecimal tests Failed!\n"); + curl_mprintf("Some curl_mprintf() octal or hexadecimal tests Failed!\n"); return errors; }