At 2026-01-27T18:46:10+0100, Bruno Haible wrote: > On OpenBSD 7.8, on the console (with TERM=vt220), the build with > --without-urw-fonts succeeds, but there is 1 test failure. Log is > attached.
Thanks, Bruno. This was a regex goof on my part. OpenBSD "od" pads the columns of output more generously, which caught me out. (Also, I normally include "expected output" in comments where that would be helpful, as here--but hadn't in this case.) This should fix it, permitting the test to succeed. Folks can expect it in my next push. $ git diff diff --git a/src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh b/src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh index 2cd3d0c07..1686e7f7e 100755 --- a/src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh +++ b/src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh @@ -52,11 +52,17 @@ echo "$output" output=$(echo "$output" | sed -n '11p' | od -t x1) echo "$output" +# Expected output: +# 0000000 e2 94 9c e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 +# 0000020 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 +# 0000040 80 e2 94 80 e2 94 a4 0a +# 0000050 + echo "checking that left edge of table after heading looks like |-" >&2 echo "$output" | grep -q '0000000 *e2 *94 *9c' || wail echo "checking that right edge of table after heading looks like -|" >&2 -echo "$output" | grep -q '0000040 .* e2 *94 *a4 *0.$' || wail +echo "$output" | grep -q '0000040 .* *e2 *94 *a4 *0.$' || wail test -z "$fail" Regards, Branden
signature.asc
Description: PGP signature
