gbranden pushed a commit to branch master
in repository groff.
commit c6bcc7ea6921c35074132689eb55e43d531663c4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Sep 1 21:06:16 2024 -0500
[groff]: Regression-test Savannah #61100.
* src/roff/groff/tests/double-do-request-does-not-raise-assertion.sh: Do
it.
* src/roff/groff/groff.am (groff_TESTS): Run test.
Test fails at this commit.
---
ChangeLog | 8 +++++++
src/roff/groff/groff.am | 1 +
.../double-do-request-does-not-raise-assertion.sh | 25 ++++++++++++++++++++++
3 files changed, 34 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index f534b1ebb..fd3ceb1e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-09-01 G. Branden Robinson <[email protected]>
+
+ Regression-test Savannah #61100.
+
+ * src/roff/groff/tests/\
+ double-do-request-does-not-raise-assertion.sh: Do it.
+ * src/roff/groff/groff.am (groff_TESTS): Run test.
+
2024-09-02 G. Branden Robinson <[email protected]>
[groff]: Rename test scripts to better fit recent conventions.
diff --git a/src/roff/groff/groff.am b/src/roff/groff/groff.am
index b5726e18a..40ab5e8b2 100644
--- a/src/roff/groff/groff.am
+++ b/src/roff/groff/groff.am
@@ -54,6 +54,7 @@ groff_TESTS = \
src/roff/groff/tests/dot-nm-register-works.sh \
src/roff/groff/tests/dot-nn-register-works.sh \
src/roff/groff/tests/dot-trap-register-works.sh \
+ src/roff/groff/tests/double-do-request-does-not-raise-assertion.sh \
src/roff/groff/tests/draw-arc.sh \
src/roff/groff/tests/draw-circle.sh \
src/roff/groff/tests/draw-ellipse.sh \
diff --git a/src/roff/groff/tests/double-do-request-does-not-raise-assertion.sh
b/src/roff/groff/tests/double-do-request-does-not-raise-assertion.sh
new file mode 100755
index 000000000..2a46632fd
--- /dev/null
+++ b/src/roff/groff/tests/double-do-request-does-not-raise-assertion.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# Copyright (C) 2024 Free Software Foundation, Inc.
+#
+# This file is part of groff.
+#
+# groff is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# groff is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# 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"
+
+printf ".do do nr a 1\n" | "$groff" -C
+
+# vim:set autoindent expandtab shiftwidth=2 tabstop=2 textwidth=72:
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit