[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 13/14: Regression-test Savannah #60913.
From: |
G. Branden Robinson |
Subject: |
[groff] 13/14: Regression-test Savannah #60913. |
Date: |
Thu, 15 Jul 2021 15:41:18 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 9d86a8e3f68644e891878bbda12497633f1b1bb5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jul 13 06:29:31 2021 +1000
Regression-test Savannah #60913.
Warning: test fails at this commit.
---
ChangeLog | 6 ++++++
src/roff/groff/groff.am | 1 +
.../tests/evc_produces_no_output_if_invalid.sh | 25 ++++++++++++++++++++++
3 files changed, 32 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 26792ce..1e2a6eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-07-13 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/roff/groff/tests/evc_produces_no_output_if_invalid.sh:
+ Regression-test Savannah #60913.
+ * src/utils/grog/grog.am (grog_TESTS): Run test.
+
2021-07-11 G. Branden Robinson <g.branden.robinson@gmail.com>
Update English hyphenation patterns.
diff --git a/src/roff/groff/groff.am b/src/roff/groff/groff.am
index 3c378bb..d39796a 100644
--- a/src/roff/groff/groff.am
+++ b/src/roff/groff/groff.am
@@ -40,6 +40,7 @@ groff_TESTS = \
src/roff/groff/tests/do_not_loop_infinitely_when_breaking_cjk.sh \
src/roff/groff/tests/dot-cp_register_works.sh \
src/roff/groff/tests/dot-nm_register_works.sh \
+ src/roff/groff/tests/evc_produces_no_output_if_invalid.sh \
src/roff/groff/tests/initialization_is_quiet.sh \
src/roff/groff/tests/localization_works.sh \
src/roff/groff/tests/msoquiet_works.sh \
diff --git a/src/roff/groff/tests/evc_produces_no_output_if_invalid.sh
b/src/roff/groff/tests/evc_produces_no_output_if_invalid.sh
new file mode 100755
index 0000000..47b0d1d
--- /dev/null
+++ b/src/roff/groff/tests/evc_produces_no_output_if_invalid.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# Copyright (C) 2021 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"
+
+# Regression-test Savannah #60913.
+
+test -z "$(printf '.evc foo bar\n' | "$groff")"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 13/14: Regression-test Savannah #60913.,
G. Branden Robinson <=