gbranden pushed a commit to branch master
in repository groff.
commit 437efa52110320c2d0113292b8ff1e6e6eb71def
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Oct 21 23:18:22 2026 -0500
[groff]: Align test with modern groff conventions.
* src/roff/groff/tests/pi-request-works.sh: Drop stump comment after
license notice. Update Vim modeline. Update indentation.
---
src/roff/groff/tests/pi-request-works.sh | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/roff/groff/tests/pi-request-works.sh
b/src/roff/groff/tests/pi-request-works.sh
index b13f06ccf..454f46f1d 100755
--- a/src/roff/groff/tests/pi-request-works.sh
+++ b/src/roff/groff/tests/pi-request-works.sh
@@ -16,15 +16,14 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
groff="${abs_top_builddir:-.}/test-groff"
fail=
wail () {
- echo ...FAILED >&2
- fail=YES
+ echo ...FAILED >&2
+ fail=YES
}
echo "checking that 'pi' request works" >&2
@@ -34,10 +33,10 @@ echo "$output" | grep -Eqx '^#t *hello'
echo "checking that parser returns to correct state after 'pi'" >&2
output=$(printf '.pi cat\n.tm goodbye\n' \
- | "$groff" -UZ 2>&1 > /dev/null)
+ | "$groff" -UZ 2>&1 > /dev/null)
echo $output
echo $output | grep -Fqx goodbye || wail
test -z "$fail"
-# vim:set autoindent expandtab shiftwidth=2 tabstop=2 textwidth=72:
+# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit