gbranden pushed a commit to branch master
in repository groff.

commit f235c89622856b0da6445dd43e17d87c24705bbc
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Nov 28 17:41:25 2025 -0600

    [groff]: Regression-test Savannah #67744.
    
    * src/roff/groff/tests/check-delimiter-validity.sh: Do it.
    
    Test fails at this commit.
---
 ChangeLog                                        | 5 +++++
 src/roff/groff/tests/check-delimiter-validity.sh | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e86c69426..856a4ded2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-11-28  G. Branden Robinson <[email protected]>
+
+       * src/roff/groff/tests/check-delimiter-validity.sh:
+       Regression-test Savannah #67744.
+
 2025-11-28  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (token::description): Add assertion;
diff --git a/src/roff/groff/tests/check-delimiter-validity.sh 
b/src/roff/groff/tests/check-delimiter-validity.sh
index 543169efa..2930bce6c 100755
--- a/src/roff/groff/tests/check-delimiter-validity.sh
+++ b/src/roff/groff/tests/check-delimiter-validity.sh
@@ -57,6 +57,11 @@ do
     echo "$output" | grep -qx 1n+2n_. || wail
 done
 
+# Regression-test Savannah #67744.
+echo "checking invalidity of \h as delimiter in normal mode" >&2
+output=$(printf 'foo\\C\\h"1m"em\\h"1m"bar\n' \ | "$groff" -T ascii -a)
+echo "$output" | grep -Fqx "foo--bar" && wail
+
 # Now test the context-dependent sets of delimiters of AT&T troff.
 
 # not tested: '_' (because it's part of our delimited expression)

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to