1For these tests, the date returned by clock_gettime() will be compared 2with that returned by the gettimeofday() function. 3 4Assumptions: 5- Machines running these test cases also have access to the gettimeofday 6 function. 7- Ideally, the gettimeofday() function has different internals than 8 clock_gettime(). [Hopefully, clock_gettime() doesn't just _call_ 9 gettimeofday(), for instance.] 10 However, even if not, it's still a valid test to make sure clock_gettime() 11 doesn't have an error somewhere else. 12==> See 13http://sourceforge.net/mailarchive/forum.php?thread_id=591583&forum_id=2469 14It turns out these two functions _should_ return the same value but do 15have different internals, so this is a good test case. 16 17 18----- 19Another note: At one point, I considered using ntpd to do date checking. 20That idea ended up getting thrown out, but one thing I want to document is 21that, if I did chose that idea, the tester would need to install RPMs: 22 ntp 23 libcap 24for it to run. 25 26