>have a look at that IG, its mostly what you did, plus wrap cunit
>around it...
I wasn't familiar with CUnit so it's going to take me some time to figure
everything out, but it looks like you simply changed my assert() calls to
CUnit's equivalents, so yes, that's fine.
I will use test_stripallbut.c as a template if I write any more unit tests.
I like the idea of adding unit tests; perhaps in the future we can write
some more that connect to citserver and do things like testing the IMAP service
for accuracy etc.