[Top][All Lists]

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

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

From: Paul Eggert
Subject: Re: [GNU Bison 1.50a] testsuite.log: 2 failures
Date: Sat, 30 Nov 2002 00:59:53 -0800 (PST)

I'm responding to your message archived in:

> 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
    echo $file
    wc -l <$file
    grep -c '^' <$file

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.

reply via email to

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