Geo Carncross wrote:

Ok. I've changed the test-suites to use /etc/dbmail/dbmail-test.conf instead. The actual location is now defined in check_dbmail.h and used by all the test suites.


Can we use an environment variable to override?

Consider using:

getenv("DBMAIL_CONF") ? getenv("DBMAIL_CONF") : "/etc/dbmail/dbmail-
test.conf"

or something to that effect...

Great idea.


[[ FYI: I found no mention of "check package" in the mailing list
archive. After much digging, I located http://check.sf.net/

Well, that location *is* documented in the test-suites.


Yeah, but figuring out where those were wasn't obvious...

Ok, so we'll probably need a README.hacking :-)



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

I'm using the version that comes with debian/sarge which is way behind upstream. So I'll stick with suite_free for now. Someone is working on updating the check package already though.


It's versioned in check.h -- I'm not certain when the change occurred
(someplace between your version and mine). How about:

#if CHECK_MAJOR_VERSION > 0 || CHECK_MINOR_VERSION >= 9
#define suite_free() /* nothing! */
#endif

Sounds valid. Will do.


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to