Solaris 64-bit bulkmode failure
David Relson
relson at osagesoftware.com
Mon Jun 2 18:05:46 CEST 2003
At 11:51 AM 6/2/03, Matthias Andree wrote:
>David Relson <relson at osagesoftware.com> writes:
>
> > In t.bulkmode, enable line 62 to set V="-vvv", then run in verbose mode,
> > i.e. "t.bulkmode -v", then send me send me a .tgz of files
> > bulkmode.20030601/bulk-double-2.*. That should let me to pinpoint where
> > the calculation goes awry. Then we'll see :-)
>
>JFTR (just for the records): our test framework prepends /usr/xpg4/bin
>to $PATH to allow for POSIX-compliant options to head(1) and
>tail(1). Unfortunately, these come bundled with a different grep that
>only supports lines up to LINE_MAX characters. This caused the input to
>be truncated on Solaris, which is why the output was also wrong.
>
>The bug has been fixed in CVS.
Matthias,
Since the purpose of using grep in the test was do delete the first line,
i.e. "^From ...", from each line, not using grep changes the test
slightly. Could we instead use "awk '(NR > 1) {print $0}'" to delete the
unwanted first lines?
David
More information about the bogofilter-dev
mailing list