Nofib Fails stderr test on linux
Kevin Glynn
keving at cs.mu.OZ.AU
Wed Jan 10 21:57:17 EST 2001
Hi,
I'm using ghc-4.08.1 on linux (Debian 2.2) and running some nofib
tests. some of the tests (e.g. mkhprog) fail when comparing the
expected / actual stderr.
The two files differ by an extra carriage return on the actual
stderr's saved file.
I discovered that this was caused by the line 233/4 in runstdtest.prl:
egrep -v '^ld\.so:.*has older revision than expected' < $TmpPrefix/runtest$$.2 > $TmpPrefix/runtest$$.2b
mv -f $TmpPrefix/runtest$$.2b $TmpPrefix/runtest$$.2
Although the original stderr file had no carriage return at the end,
egrep will add one to its output file.
regards
Kevin
More information about the Glasgow-haskell-bugs
mailing list