Hi Bruno,

At 2026-08-03T18:37:03+0200, Bruno Haible wrote:
> On FreeBSD 15.0, there is 1 test failure. Log is attached.

This appears to be due to the od(1) in FreeBSD putting more than one
space between columns in "-t x1" format.  I checked POSIX Issue 8, and
there appears (via word search) to be no guidance regarding whether
columns are separated by spaces or tab, nor how many of each.

I don't have a FreeBSD system I can test on.  But here's a patch to the
test script.  Can you let me know if it resolves the problem.

If it does, presumably this fix will keep the test from failing on
macOS--in the future, if it doesn't already.

diff --git a/contrib/mm/tests/IA-IE-WA-WE-allow-escape-sequences.sh 
b/contrib/mm/tests/IA-IE-WA-WE-allow-escape-sequences.sh
index 83b5df007..973545924 100755
--- a/contrib/mm/tests/IA-IE-WA-WE-allow-escape-sequences.sh
+++ b/contrib/mm/tests/IA-IE-WA-WE-allow-escape-sequences.sh
@@ -73,11 +73,12 @@ echo "$output"

 echo "checking that escape sequences are handled between WA and WE" >&2
 # "Édouard"
-echo "$output" | grep -q '^0000360.*c3 89 64 6f 75 61 72 64' || wail
+echo "$output" \
+    | grep -Eq '^0000360.*c3 +89 +64 +6f +75 +61 +72 +64' || wail

 echo "checking that escape sequences are handled between IA and IE" >&2
 # "ndé"
-echo "$output" | grep -q '^0000720 6e 64 c3 a9' || wail
+echo "$output" | grep -Eq '^0000720 +6e +64 +c3 +a9' || wail

 test -z "$fail"

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

      • ... G. Branden Robinson
        • ... Roberto A. Foglietta
          • ... G. Branden Robinson
        • ... Roberto A. Foglietta
          • ... Roberto A. Foglietta
        • ... Rob Landley
          • ... Roberto A. Foglietta
            • ... Roberto A. Foglietta
              • ... Roberto A. Foglietta
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
    • ... G. Branden Robinson
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
    • ... G. Branden Robinson
      • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
        • ... G. Branden Robinson
          • ... Bruno Haible via discussion of the GNU roff typesetting system and related software

Reply via email to