[PATCH] test: report.at: avoid tiny new failure

Jim Meyering <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Akim et al,

I tested latest bison from git and found only one tiny test failure:

182. report.at:24: testing Reports ...
./report.at:62: COLUMNS=1000; export COLUMNS;  bison --color=no -fno-caret -o input.cc -v --graph=input.gv --xml input.yy
./report.at:65: cat input.output
./report.at:307: COLUMNS=1000; export COLUMNS;  bison --color=no -fno-caret -o input.cc -rall --graph=input.gv --xml input.yy
./report.at:310: cat input.output
./report.at:579: sed -e '1s/GNU Bison .*\.$/GNU Bison VERSION./' input.gv
--- -   2020-01-18 20:35:39.795915499 -0800
+++ /home/j/w/co/bison/tests/testsuite.dir/at-groups/182/stdout 2020-01-18 20:35:39.791180279 -0800
@@ -1,6 +1,6 @@
 // Generated by GNU Bison VERSION.
 // Report bugs to <[email protected]>.
-// Home page: <http://www.gnu.org/software/bison/>.
+// Home page: <https://www.gnu.org/software/bison/>.

 digraph "input.yy"
 {
182. report.at:24: 182. Reports (report.at:24): FAILED (report.at:579)

Here's the obvious patch:

>From 9eef28c1d7a84347a48b057ee66dc7bb04e0419a Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Sat, 18 Jan 2020 20:52:21 -0800
Subject: [PATCH] test: report.at: avoid tiny new failure

* tests/report.at: Adjust expected output s/http/https/
to match updated URL.
---
 tests/report.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/report.at b/tests/report.at
index 1dfa6a3b..5cc32e7a 100644
--- a/tests/report.at
+++ b/tests/report.at
@@ -579,7 +579,7 @@ State 19
 AT_CHECK([sed -e '1s/GNU Bison .*\.$/GNU Bison VERSION./' input.gv], [],
 [[// Generated by GNU Bison VERSION.
 // Report bugs to <[email protected]>.
-// Home page: <http://www.gnu.org/software/bison/>.
+// Home page: <https://www.gnu.org/software/bison/>.

 digraph "input.yy"
 {
--
2.25.0.rc2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.