Hacker News new | ask | show | jobs
by jcul 409 days ago
libfaketime is useful for testing these kinds of things.

It intercepts system calls to get the time and reports a fake time to the application.

https://github.com/wolfcw/libfaketime