Re: mailfront 0.94 vs patterns for headers

Janos Farkas <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
On 6/10/05, Charlie Brady <[email protected]> wrote:
> On Thu, 9 Jun 2005, Bruce Guenter wrote:
> > What in particular broke?  I'd like to make them as generic as is
> > reasonably possible.

My sh is a recent bash, but compiled with --enable-minimal-config,
reducing the binary size to 294k instead of 484k, and among many
others, apparently that leaves out support for functions (that's what
I meant with "less capable for functions", not a far-eastese :)  That
causes a lot of weird failures, for example:

> bash tests.sh
52 tests executed, 0 failures
> sh tests.sh 
Test tests/pop3front-maildir-last  failed:
@@ -1,5 +1,6 @@
-+OK 0^M
-+OK 0^M
-+OK 1^M
-+OK 2^M
-+OK 2^M
+tests.sh: line 21: /usr/src/mailfront-0.94/tests-tmp/Maildir/new/1:
No such file or directory
+tests.sh: line 21: /usr/src/mailfront-0.94/tests-tmp/Maildir/new/2:
No such file or directory
+mv: cannot stat `/usr/src/mailfront-0.94/tests-tmp/Maildir/new/1': No
such file or directory
+mv: cannot stat `/usr/src/mailfront-0.94/tests-tmp/Maildir/cur/1': No
such file or directory
+mv: cannot stat `/usr/src/mailfront-0.94/tests-tmp/Maildir/new/2': No
such file or directory
......
52 tests executed, 9 failures

> You might try testing with ash.

I don't have that :)  Does it have functions?

Janos
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.