bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Bison 1.50a] testsuite.log: 2 failures


From: Arnold Troeger
Subject: Re: [GNU Bison 1.50a] testsuite.log: 2 failures
Date: Sat, 30 Nov 2002 16:50:11 +0700
User-agent: Mozilla/5.0 (X11; U; IRIX64 IP30; en-US; rv:1.1) Gecko/20021001

Paul Eggert wrote:
I'm responding to your message archived in:
<http://mail.gnu.org/pipermail/bug-bison/2002-November/001935.html>:


From: Arnold Troeger <address@hidden>
Date: Fri, 29 Nov 2002 17:11:15 +0700

calc.at:462: wc -l <stderr | sed 's/[^0-9]//g'
--- -   Fri Nov 29 04:04:46 2002
+++ /u76/gnu/src/bison-1.75/IRIX6_mips/tests/testsuite.dir/at-stdout    Fri Nov 
29 04:04:46 2002
@@ -1,2 +1,2 @@
-486
+369


That output is strange, since your bug report contains a copy of
stderr, and that copy does have 486 lines in it; and yet apparently
your "wc" program reported only 369 lines.

So, I suspect that your "wc -l" program is broken.  Can you please
test my theory by running the following shell commands?

  cd tests
  ./testsuite -v 59 60

  for file in testsuite.dir/*/stderr
  do
    echo $file
    wc -l <$file
    grep -c '^' <$file
  done

I'm using "grep -c" to double-check the line counts produced by "wc".
If you can think of another reliable way to count the number of lines
in each stderr file, please do that too.



Ah Hah!  I'm upgrading textutils to 2.1 right now :-)

Thank you very much.

Arnold

--
Arnold Troeger                          Unocal Thailand
Phone:  011-66-2-545-5456               5th Floor, Tower 3, SCB Park Plaza
FAX:    011-66-2-545-5374               19 Ratchadapisek Road, Chatuchak
Email:  address@hidden  Bangkok 10900, Thailand
------------------------------------------------------------------------
"Microsoft Windows:  for when your machine is just too fast"
"Microsoft: Writing viruses has never been easier!"
"Microsoft: The company that made email dangerous"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]