gbranden pushed a commit to branch master
in repository groff.

commit c9380a191809bf66cb008b74d3e6ef8340424fbd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 27 18:14:07 2021 +1000

    [tests]: Fix nit.
    
    * src/roff/groff/tests/regression_savannah_59202.sh: Remove any core
      file before running troff so we don't throw a false positive.
---
 ChangeLog                                         | 6 ++++++
 src/roff/groff/tests/regression_savannah_59202.sh | 1 +
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index c3ff39b..f82b499 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2021-07-27  G. Branden Robinson <[email protected]>
 
+       * src/roff/groff/tests/regression_savannah_59202.sh: Remove any
+       core file before running troff so we don't throw a false
+       positive.
+
+2021-07-27  G. Branden Robinson <[email protected]>
+
        * src/roff/troff/input.cpp (do_suppress): Recast diagnostic
        messages for clarity, to communicate in terms of what the
        escape sequence _is_, and to quote literals expected as input.
diff --git a/src/roff/groff/tests/regression_savannah_59202.sh 
b/src/roff/groff/tests/regression_savannah_59202.sh
index 004b5bc..9a0c5ba 100755
--- a/src/roff/groff/tests/regression_savannah_59202.sh
+++ b/src/roff/groff/tests/regression_savannah_59202.sh
@@ -22,5 +22,6 @@ groff="${abs_top_builddir:-.}/test-groff"
 
 # troff should not segfault when its standard output is closed.
 # Savannah #59202.
+rm -f core
 echo | "$groff" >&-
 ! test -e core

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to