gbranden pushed a commit to branch master
in repository groff.
commit 6157c9f30e46481bad736d17b874bc1347f77393
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Nov 4 11:52:55 2025 -0600
[groff]: Ensure we get delimiter warnings in test.
...the whole purpose of which is to verify delimiter validity.
---
src/roff/groff/tests/check-delimiter-validity.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/roff/groff/tests/check-delimiter-validity.sh
b/src/roff/groff/tests/check-delimiter-validity.sh
index 6717373b1..359d8a07c 100755
--- a/src/roff/groff/tests/check-delimiter-validity.sh
+++ b/src/roff/groff/tests/check-delimiter-validity.sh
@@ -33,7 +33,7 @@ do
echo "checking validity of '$c' as delimiter in normal mode" \
>&2
output=$(printf '\\l%c1n+2n\\&_%c\n' "$c" "$c" \
- | "$groff" -T ascii | sed '/^$/d')
+ | "$groff" -w delim -T ascii | sed '/^$/d')
echo "$output"
echo "$output" | grep -Fqx ___ || wail
done
@@ -43,7 +43,7 @@ do
echo "checking invalidity of '$c' as delimiter in normal mode" \
>&2
output=$(printf '\\l%c1n+2n\\&_%c\n' "$c" "$c" \
- | "$groff" -T ascii | sed '/^$/d')
+ | "$groff" -w delim -T ascii | sed '/^$/d')
echo "$output"
echo "$output" | grep -qx 1n+2n_. || wail
done
@@ -57,7 +57,7 @@ do
echo "checking validity of '$c' as string expression delimiter" \
"in compatibility mode" >&2
output=$(printf '\\o%c__%c__\n' "$c" "$c" \
- | "$groff" -C -T ascii -P -cbou | sed '/^$/d')
+ | "$groff" -C -w delim -T ascii -P -cbou | sed '/^$/d')
echo "$output"
echo "$output" | grep -Fqx ___ || wail
done
@@ -69,7 +69,7 @@ do
echo "checking validity of '$c' as numeric expression delimiter" \
"in compatibility mode" >&2
output=$(printf '_\\h%c1n+2n%c_\n' "$c" "$c" \
- | "$groff" -C -T ascii | sed '/^$/d')
+ | "$groff" -C -w delim -T ascii | sed '/^$/d')
echo "$output"
echo "$output" | grep -Fqx '_ _' || wail
done
@@ -94,7 +94,7 @@ do
echo "checking validity of '$c' as output comparison delimiter" \
"in compatibility mode" >&2
output=$(printf '.if %c@@@%c@@@%c ___\n' "$c" "$c" "$c" \
- | "$groff" -C -T ascii | sed '/^$/d')
+ | "$groff" -C -w delim -T ascii | sed '/^$/d')
echo "$output"
echo "$output" | grep -Fqx ___ || wail
done
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit