From: Matthias A. <mat...@gm...> - 2006-05-24 12:48:10
|
Martin Mrazik <mm...@su...> writes: > On the official fetchmail website there is a short note about a test > harness being run before each release. It's essentially trying to mail some messages to test accounts and trying to retrieve them. It's a python script accompanied by confidential test account data. Unfortunately, most of the test sites are dead, accounts removed, so it's mostly worthless. I am manually using Josefsson's autobuild to run compile tests on the SourceForge.net compile farm and am running the simplest of all tests, "make check" which only runs t.smoke: | #! /bin/sh | | # This is a rudimentary tests to see if fetchmail can parse a trivial | # configuration and dump it in human-readable and machine-readable form. | | set -e | trap 'rm -f t.rc.$$' 0 | cp "${srcdir}/t.rc" t.rc.$$ | chmod 0400 t.rc.$$ | ./fetchmail -V -f t.rc.$$ >/dev/null | ./fetchmail --configdump -f t.rc.$$ >/dev/null with this t.rc: | skip mail.example.org > Since I'm currently trying to automate some fetchmail tests I'm > curious if this test harness is available somewhere. I would like to > have a look and possibly add some tests (or maybe improve it). Would > it be possible? The publicly accessible data is in the SVN repository, use svn co http://mknod.org/svn/fetchmail/branches/BRANCH_6-3 fetchmail-6-3 to check out, then see the "dist-tools/test/" directory. -- Matthias Andree |