At 2026-01-27T18:52:25+0100, Bruno Haible wrote: > On NetBSD 10.0, on the console (with TERM=wsvt25), the build with > --without-urw-fonts succeeds, but there are 3 test failures. Log is attached. > > FAIL: src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh
This is the same as the lone OpenBSD test failure;[1] fixed in my working copy. > FAIL: tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh > FAIL: tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh Another blunder on my part. diff --git a/ChangeLog b/ChangeLog index 6c89507c6..69bea9494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2026-01-27 G. Branden Robinson <[email protected]> + + * tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh: + * tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh: Fix + regex to correctly quote a closing parenthesis _not_ used as an + ERE grouping operator. Fixes spurious test failures on NetBSD. + Sadly, neither GNU grep 3.6 nor 3.12.14 warned me of my mistake. + Thanks to Bruno Haible for the report. + 2026-01-27 G. Branden Robinson <[email protected]> * src/preproc/tbl/tests/boxed-TH-tables-work-on-utf8-device.sh: diff --git a/tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh b/tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh index 10219e573..0b2ff586a 100755 --- a/tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh +++ b/tmac/tests/an_MR-internal-hyperlinks-work-with-pdfmom.sh @@ -68,7 +68,7 @@ echo "$output" \ echo "checking that external links are not rewritten" >&2 echo "$output" \ - | grep -Eq '^ *301[[:space:]]+x X pdf: markstart .*/URI \(man:baz\(1\))' \ + | grep -Eq '^ *301[[:space:]]+x X pdf: markstart .*/URI \(man:baz\(1\)\)' \ || wail test -z "$fail" diff --git a/tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh b/tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh index 72d0fd98a..9d97c42e1 100755 --- a/tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh +++ b/tmac/tests/andoc_internal-hyperlinks-work-with-pdfmom.sh @@ -125,7 +125,7 @@ echo "$output2" \ echo "checking that external links are not rewritten" >&2 echo "$output2" \ - | grep -Eq '^ *278[[:space:]]+x X pdf: markstart .*/URI \(man:baz\(1\))' \ + | grep -Eq '^ *278[[:space:]]+x X pdf: markstart .*/URI \(man:baz\(1\)\)' \ || wail test -z "$fail" Regards, Branden [1] https://lists.gnu.org/archive/html/groff/2026-01/msg00128.html
signature.asc
Description: PGP signature
