On Sat, 2005-02-19 at 09:47 +0100, Paul J Stevens wrote:
>
>
> Geo Carncross wrote:
> > Sorry about the confusion.
> >
> > dbmail now appears to work; I've been able to inject messages into
> > dbmail and fetch them just fine.
> >
> > Will do more testing... expect more patches!
>
> Okidoki. User creation is still broken.
>
> Try using the test-framework. Add --with-check to the configure run (after
> installing the check package of course), and run "make check"
This is not happening; the config_read demands I install dbmail.conf
in /etc -- I simply don't know you that well :)
I modified the test cases to expect a dbmail-local.conf (attached) - and
it's mostly successful.
check_dbmail_deliver.c:399:F:Auth:test_auth_validate: auth_validate
positive failure
I _suspect_ this is because I didn't preload my database with a
testuser1 account. After doing this, the test succeeds. I think this is
a bug with the test-case.
check_dbmail_imapd.c:184:F:Mime:test_mime_fetch_headers: Field name
incorrect
This test also appears to be a bug in the test-case:
184: fail_unless(strcmp(mr->field, "Content-type")==0, ...
This is the line that fails. The problem is that:
mr->field
contains "Content-Type"
and not: "Content-type" - which is what it's expecting.
All other tests succeed!
Please correct me if I'm wrong on this.
[[ FYI: I found no mention of "check package" in the mailing list
archive. After much digging, I located http://check.sf.net/
The current version of "check" doesn't use "suite_free()" anymore, so I
deleted those lines from the check scripts. srunner_free() appears to
free the suites now. ]]
--
Internet Connection High Quality Web Hosting
http://www.internetconnection.net/