gbranden pushed a commit to branch master
in repository groff.
commit d1b3010bc3df87251fd3d89159ea4f34d10469b0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Oct 3 15:50:48 2026 -0500
squash GETST test
---
contrib/mm/tests/GETST-works.sh | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/contrib/mm/tests/GETST-works.sh b/contrib/mm/tests/GETST-works.sh
index df0b18a64..b06486484 100755
--- a/contrib/mm/tests/GETST-works.sh
+++ b/contrib/mm/tests/GETST-works.sh
@@ -22,13 +22,6 @@ mmroff="${abs_top_builddir:-.}/mmroff"
fontdir="${abs_top_builddir:-.}/font"
src="${abs_top_srcdir:-..}"
-fail=
-
-wail () {
- echo ...FAILED >&2
- fail=YES
-}
-
# Locate directory containing our test artifacts.
artifacts_dir=
@@ -63,12 +56,14 @@ mmdir=$src/contrib/mm/
GROFF_BIN_PATH=. GROFF_FONT_PATH="$fontdir":"$src"/font \
GROFF_TMAC_PATH="$src"/contrib/mm:"$src"/tmac \
"$mmroff" -t -T utf8 -P -cbou "$artifacts_dir"/use-reference.mm \
- | grep -q 'Use Table 1 to' || wail
+ | grep -q 'Use Table 1 to'
+status=$?
# Nuke the reference file to keep `make distclean` happy. Honoring a
# file name argument to `INITR` with slashes in it in a way that we can
# test looks like a bit of a lift. :-\
rm -f reference.qrf
-test -z "$fail" || exit 1
+test $status -eq 0 && rm -rf "$sandbox_dir"
+exit $status
# vim:set autoindent expandtab shiftwidth=4 tabstop=4 textwidth=72:
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit