gbranden pushed a commit to branch master
in repository groff.
commit 75a02eda1f3b976834cec8d2dd9eeffe6f6a518d
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Sep 4 23:09:49 2021 +1000
[tests]: Skip core dump test if core exists.
* src/roff/groff/tests/regression_savannah_59202.sh: Skip test if a core
dump is already present.
---
ChangeLog | 7 +++++++
src/roff/groff/tests/regression_savannah_59202.sh | 3 +++
2 files changed, 10 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index c57e6e7..5a8caeb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2021-09-04 G. Branden Robinson <[email protected]>
+ Skip core-dump-checking test if a core file already exists.
+
+ * src/roff/groff/tests/regression_savannah_59202.sh: Skip test
+ if a core dump is already present.
+
+2021-09-04 G. Branden Robinson <[email protected]>
+
Add regression test for Savannah #60189.
* src/roff/groff/tests/break_zero-length_output_line_sanely.sh:
diff --git a/src/roff/groff/tests/regression_savannah_59202.sh
b/src/roff/groff/tests/regression_savannah_59202.sh
index 004b5bc..6d8bdc1 100755
--- a/src/roff/groff/tests/regression_savannah_59202.sh
+++ b/src/roff/groff/tests/regression_savannah_59202.sh
@@ -22,5 +22,8 @@ groff="${abs_top_builddir:-.}/test-groff"
# troff should not segfault when its standard output is closed.
# Savannah #59202.
+
+# If a core file already exists, it should be dealt with; skip test.
+test -e core && exit 77
echo | "$groff" >&-
! test -e core
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit