Re: How to mangle system time for testing

2005-12-28 Thread Adrian Howard
On 28 Dec 2005, at 16:36, Javier Amor Garcia wrote: Hello, i am testing a module for a web application and i need to test the expiration of sessions. The problem is that i can not modify the expiration time and i not want to make sleep the test for the full length of expiration time (a hour)

How to mangle system time for testing

2005-12-28 Thread Javier Amor Garcia
Hello, i am testing a module for a web application and i need to test the expiration of sessions. The problem is that i can not modify the expiration time and i not want to make sleep the test for the full length of expiration time (a hour). So, the natural solution appears to be mangling the s