On Fri, Mar 02, 2007 at 09:01:01AM -0700, Mark Post wrote: > >>> On Fri, Mar 2, 2007 at 10:29 AM, in message > <[EMAIL PROTECTED]>, Bill Carlson <[EMAIL PROTECTED]> > wrote: > -snip- > > I recommend this over the zdump test, as the ACTUAL system is exercised, > > rather than dumping the data from a file that may not be used. > > Why do you assume that the date command uses a different file than the > general system, and hence the date command?
What? Using date in this manner uses the system libraries in the same manner programs should. zdump just lists the info contained in a timezone file. That doesn't mean the system is correctly configured to use that specific timezone information. In a few of the SuSe instances I recently upgraded, some had /etc/localtime as a copy of the timezone file rather than a symlink. Using a verification such as date -d (or write something that uses ctime and friends) is the final "Yes, the timezone is correct" check. -- Bill Carlson -- Systems Administrator [EMAIL PROTECTED] | Anything is possible, HCIS | given time and money. University of Iowa Hospitals and Clinics | Opinions are mine, not my employer's. | ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
