groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/03: Regression-test Savannah #59202.


From: G. Branden Robinson
Subject: [groff] 02/03: Regression-test Savannah #59202.
Date: Tue, 29 Sep 2020 04:40:01 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7850f550b72dee8d371f20b10dd1bac44f989971
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Sep 29 18:17:08 2020 +1000

    Regression-test Savannah #59202.
    
    * src/roff/groff/tests/regression_savannah_59202.sh: Add test.
    
    * src/roff/groff/groff.am (groff_TESTS): Run test.
---
 ChangeLog                                         |  5 +++++
 src/roff/groff/groff.am                           |  1 +
 src/roff/groff/tests/regression_savannah_59202.sh | 26 +++++++++++++++++++++++
 3 files changed, 32 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 44ac04f..ec58216 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-29  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/roff/groff/tests/regression_savannah_59202.sh: Add test.
+       * src/roff/groff/groff.am (groff_TESTS): Run test.
+
 2020-09-28  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/an-old.tmac (register setup): Condition decisions on
diff --git a/src/roff/groff/groff.am b/src/roff/groff/groff.am
index c70047d..712f3d3 100644
--- a/src/roff/groff/groff.am
+++ b/src/roff/groff/groff.am
@@ -48,6 +48,7 @@ groff_TESTS = \
   src/roff/groff/tests/regression_savannah_58153.sh \
   src/roff/groff/tests/regression_savannah_58162.sh \
   src/roff/groff/tests/regression_savannah_58337.sh \
+  src/roff/groff/tests/regression_savannah_59202.sh \
   src/roff/groff/tests/smoke-test_html_device.sh \
   src/roff/groff/tests/string_case_xform_errors.sh \
   src/roff/groff/tests/string_case_xform_requests.sh \
diff --git a/src/roff/groff/tests/regression_savannah_59202.sh 
b/src/roff/groff/tests/regression_savannah_59202.sh
new file mode 100755
index 0000000..d7d603f
--- /dev/null
+++ b/src/roff/groff/tests/regression_savannah_59202.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# Copyright (C) 2020 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"
+
+# troff should not segfault when its standard output is closed.
+# Savannah #59202.
+echo foo | "$groff" >&-
+! test -e core



reply via email to

[Prev in Thread] Current Thread [Next in Thread]