Andrew McMillan e64f92ff86 Fix handling of BYMONTHDAY=-N in repeat rules.
It seems PHP's date::setDate function doesn't do what we want when
you hand it a negative integer so we need to override a little more
of it's behaviour.  We have to make sure that date::modify is not
called with a days greater than the month we might land in when we
add a number of months to it.
2011-09-28 05:21:31 +08:00
..
2011-09-27 13:27:56 +13:00

Regression Testing
==================

At present these regression tests are basically written to work in my
own environment.  While I am, of course, happy to see patches that make
them more generic they are still very much a work in progress.

In order to run them in your environment you will need to ensure both
the Webserver and Database server run in the 'Pacific/Auckland' timezone
since the regression testing puts a number of events into the database
in a floating timezone, and some responses which are affected by these
events are reported in UTC (mostly freebusy results).

On a Debian system you can do this by adding the line:

  export TZ=Pacific/Auckland

to /etc/apache2/envvars, and the line:

  TZ = 'Pacific/Auckland'

to /etc/postgresql/8.4/main/environment

You will also need to edit regression.conf as indicated in that file.