[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/05: [tests]: Skip core dump test if core exists.
From: |
G. Branden Robinson |
Subject: |
[groff] 03/05: [tests]: Skip core dump test if core exists. |
Date: |
Sat, 4 Sep 2021 11:21:48 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 75a02eda1f3b976834cec8d2dd9eeffe6f6a518d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+ 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 <g.branden.robinson@gmail.com>
+
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 03/05: [tests]: Skip core dump test if core exists.,
G. Branden Robinson <=