Re: groff 1.24.0.rc2 on OpenBSD
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260127183258.cuzrbkqt3yxqwvmp@illithid> |
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
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAml5BNMACgkQ0Z6cfXEm bc40tA//SZVLOu0iQzktJFsb4rtKtDwe6ZvtuNm3D0tlaC8Rljy+SsrWpaMuQJ5L X/+c4eUiaIOl6SeQvTAtSB9jeO6a0OxJbOrEY73fSKnb6tEa2yNQ3BEJ1Tf6FPHj rOXnLX+xjOphFQpENpq+1rqISkTBdxHMmU3Kv23WXf8ZBrgdd+H5EFniBYkem6qN ISvM/LQV4str4uOzx4UXd12qvWrNvii4UNbbb2tDQcmqHaH5NvB+vrjIdBPcZ0sT tFx0KEsATrhGuJg9/8hgVJwSSb68CinczIuE7yc/kqocAUymiAOhIImzMuMaoJ1Z RbhTV+H/a80b+v6ea2hdkyHR9HQOFIu6dzBZWv09vCG/s5cI1U4kHkpBiko4fSas tbNVIVyY2LG3B0X5dBV0yYwOJb94BazADAEHDCdltDsR90CtIuebMXsjea4xjEgu nrURoqdzC+Z2pJFSSiXGbV1XPm2ifNXz7aS3vSZhpv/OsfoPUdGQQEcRffqXyc6Q iQd7ZgTcXE3LXl+E5Dlcp6UaXmIgQxRogasNU75RF7Vzzhqr56uR1aFS0JUDhdvh GcBqM4n4Bhxj2HdoLjD2UgBrHXZS/g281Hhsoi2/I4HcdCt9xlz2nb1roKHKNXJP qgtPUokDGfsocZR1JjuFU6VhqVWN3IhLKoWrvEVo7TRFS9y8erQ= =1Rfb -----END PGP SIGNATURE-----