From 0c20e9bf1a5cc7318f85e70212505856bb5f0e72 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 26 Mar 2025 17:27:42 +0100 Subject: [PATCH] tests: replace remaining non-ASCII bytes with hex markup Also drop from `binarycheck`. Closes #16837 --- .github/scripts/binarycheck.pl | 2 +- .github/scripts/binarycheck.sums | 6 ------ tests/data/test1531 | Bin 571 -> 585 bytes tests/data/test1938 | Bin 1308 -> 1320 bytes tests/data/test35 | Bin 846 -> 870 bytes tests/data/test463 | Bin 774 -> 800 bytes tests/data/test467 | 2 +- tests/data/test545 | Bin 819 -> 831 bytes 8 files changed, 2 insertions(+), 8 deletions(-) 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 00801bb9755e4b8ebd19a270a2b2c2e7ffd4229a..f80056ab06d4e27b7c0d8fd47e7eff3efe53b79f 100644 GIT binary patch delta 34 oc-q^|a*}0(0F#(%MruX0s!?iUQnIRnK}BU%EKopovILVd0KQ-flK=n! delta 20 bc-lM3vYTat027B^Vp1|gMP=1wH6~>MLiq*s diff --git a/tests/data/test1938 b/tests/data/test1938 index ed24261b2631caf26af1dca597dfa73cf205c639..9bea107352909b37c6355cbd1232b167298441ff 100644 GIT binary patch delta 33 nc-ou8wSsHI2NqG)jMR$gg8bqVRRaT;#FE5VAYXOzPZnhW&vpzJ delta 21 cc-mXRHHT}%2NuqP{NfS@m&B69$*io(09K#}1^@s6 diff --git a/tests/data/test35 b/tests/data/test35 index a098769aab762554b774a1b54a20fd782c104578..8abf22a301c2ebac02f5e8088827c1322e778074 100644 GIT binary patch delta 62 vc-lM1_Ka=AIYu7UjMR$gkc`Y?RRe>`ml-u#V}SyyoBuE};*y)J&8!RntuYj8 delta 36 jc-ni$c8+bsIY!oyjLc$&$+s9aH*+vCB5@}>Gb;lC>3j=g diff --git a/tests/data/test463 b/tests/data/test463 index 27ecd4ba58007689a5763aae023118a92104024b..1953e0d9cba4bdb35b2d3a54010966816d4ba3bd 100644 GIT binary patch delta 62 zc-m`YTfnv -curl -v http://example.com +%hex[curl -v%08 http://example.com]hex% diff --git a/tests/data/test545 b/tests/data/test545 index 3827cb9de419b087cfb1af9dc202d44bcf5da41f..1401ebc5eafefe843b5b645e771c17ee3157dcca 100644 GIT binary patch delta 34 oc-q^{wx4aoBPJfzjMR$gkc`Y?RRe>`&zUq?V}SyylLeTS0oQB`I{*Lx delta 21 dc-q^~wwZ0iBPQ06jLc$&$?upnC(AG^0{~e92QdHu -- 2.47.3