From: Viktor Szakats Date: Wed, 26 Mar 2025 16:27:42 +0000 (+0100) Subject: tests: replace remaining non-ASCII bytes with hex markup X-Git-Tag: curl-8_13_0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c20e9bf1a5cc7318f85e70212505856bb5f0e72;p=thirdparty%2Fcurl.git tests: replace remaining non-ASCII bytes with hex markup Also drop from `binarycheck`. Closes #16837 --- diff --git a/.github/scripts/binarycheck.pl b/.github/scripts/binarycheck.pl index 25df8ddbc3..d3a9e7c417 100755 --- a/.github/scripts/binarycheck.pl +++ b/.github/scripts/binarycheck.pl @@ -96,7 +96,7 @@ if(scalar(@files) < 3000) { knownbins(); -if(scalar(keys %known) < 10) { +if(scalar(keys %known) < 4) { print STDERR "too few known binaries in $sumsfile\n"; exit 2; } diff --git a/.github/scripts/binarycheck.sums b/.github/scripts/binarycheck.sums index 3a2b091257..58585d115e 100644 --- a/.github/scripts/binarycheck.sums +++ b/.github/scripts/binarycheck.sums @@ -5,9 +5,3 @@ c68161dba1c0166e4ab8d8ce00f57326db25d29fdd52c33d9974d0972ec60990 ./tests/certs/ 47233a0092db614f53e96a4df83ddeaa7e5242899ede1c1a90c53423a0b13bba ./tests/certs/test-localhost.nn.pub.der 63898448aa199675a30fb6722046a665a7c1a5c24453e63d8c37397482a7dc52 ./tests/certs/test-localhost.pub.der f78c61bb06a71d1bf9b034ecfcb7fe35ae85b6a3b87bf3a73c085dc062747dc1 ./tests/certs/test-localhost0h.pub.der -d640923e45809a3fe277e0af90459d82d32603aacc7b8db88754fcb335bf98df ./tests/data/test1531 -6f51bc318104fb5fe4b6013fc4e8e1c3c8dec1819202e8ea025bdbc4bbc8c02d ./tests/data/test1938 -2d073a52984bab1f196d80464ea8ab6dafd887bd5fee9ed58603f8510df0c6a5 ./tests/data/test35 -4cc9fd6f31d0bb4dcb38e1565796e7ec5e48ea5ac9d3c1101de576be618786ba ./tests/data/test463 -d655a29dcf2423b420b508c9e381b0fad0b88feb74caa8978725e22c9f7c374d ./tests/data/test467 -8644ccf85e552755bf65faf2991d84f19523919379ec2cf195841a4cabe1507b ./tests/data/test545 diff --git a/tests/data/test1531 b/tests/data/test1531 index 00801bb975..f80056ab06 100644 Binary files a/tests/data/test1531 and b/tests/data/test1531 differ diff --git a/tests/data/test1938 b/tests/data/test1938 index ed24261b26..9bea107352 100644 Binary files a/tests/data/test1938 and b/tests/data/test1938 differ diff --git a/tests/data/test35 b/tests/data/test35 index a098769aab..8abf22a301 100644 Binary files a/tests/data/test35 and b/tests/data/test35 differ diff --git a/tests/data/test463 b/tests/data/test463 index 27ecd4ba58..1953e0d9cb 100644 Binary files a/tests/data/test463 and b/tests/data/test463 differ diff --git a/tests/data/test467 b/tests/data/test467 index 4184ac062c..45a6d6e849 100644 --- a/tests/data/test467 +++ b/tests/data/test467 @@ -17,7 +17,7 @@ use a bad short option letter that does not exist (after one does exist) # the second option is outside the normal accepted range -curl -v http://example.com +%hex[curl -v%08 http://example.com]hex% diff --git a/tests/data/test545 b/tests/data/test545 index 3827cb9de4..1401ebc5ea 100644 Binary files a/tests/data/test545 and b/tests/data/test545 differ