Philip Rowlands wrote: > I hacked up the following to avoid resetting my system clock all over > the place:
I have found the FakeTime Preload Library to be very useful for these things. Let me recommend it as an alternative to setting the system time. Perhaps you will find it useful too. http://www.code-wizards.com/projects/libfaketime/ It allows useful tests such as this to be performed completely in user space. LD_PRELOAD=./libfaketime.so.1 FAKETIME="2007-10-28 01:00:00" date -u -R Sun, 28 Oct 2007 01:00:00 +0000 > Smells like a DST issue, are we in a DST change? Agreed. > $ zdump -v Europe/Paris > ...Very nice analysis trimmed... That was a very nice job of analysis. Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
