Testing needed for the new date routines

the wharf rat wrat at jump.net
Thu Jun 8 22:43:42 UTC 2000


> I'd love for someone to test the code on a *BSD platform (anything that
> has tm_gmtoff and tm_zone in struct tm).  convdate with the -d flag will
> print out what should be a valid Usenet Date header.  Please follow up to
> the list if you can test on a *BSD and let us know if the results look
> correct.

	They do indeed (although a few minor patches are needed to make
the current snapshot build).

% uname -a
BSD/OS tesla.laserlink.net 3.1 BSDI BSD/OS 3.1 Kernel #4: Sun Jan 16 22:18:44 CST 2000     root at tesla.laserlink.net:/usr/src/sys/compile/TESLA  i386
% ./convdate -d
Thu, 8 Jun 2000 22:38:51 +0000 (UTC)
% ./convdate -dl
Thu, 8 Jun 2000 17:38:54 -0500 (CDT)
% env TZ=Iran ./convdate -dl
Fri, 9 Jun 2000 03:09:06 +0430 (IRST)
% ./convdate "`env TZ=Iran ./convdate -dl`"
Thu Jun  8 17:39:28 2000
% date
Thu Jun  8 17:39:38 CDT 2000
% 

news:/export/home/wrat/inn-CURRENT-20000608/expire $ uname -a
BSD/OS news.laserlink.net 4.0 BSDI BSD/OS 4.0 Kernel #1: Thu Mar 25 22:59:55 EST 1999     root at news.laserlink.net:/usr/src/sys/compile/NEWS  i386
news:/export/home/wrat/inn-CURRENT-20000608/expire $ date
Thu Jun  8 18:41:22 EDT 2000
news:/export/home/wrat/inn-CURRENT-20000608/expire $ ./convdate -d
Thu, 8 Jun 2000 22:41:23 +0000 (UTC)
news:/export/home/wrat/inn-CURRENT-20000608/expire $ ./convdate -dl
Thu, 8 Jun 2000 18:41:28 -0400 (EDT)
news:/export/home/wrat/inn-CURRENT-20000608/expire $ env TZ=Iran ./convdate -dl
Fri, 9 Jun 2000 03:11:33 +0430 (IRST)
news:/export/home/wrat/inn-CURRENT-20000608/expire $ ./convdate "`env TZ=Iran ./convdate -dl`"
Thu Jun  8 18:41:40 2000
news:/export/home/wrat/inn-CURRENT-20000608/expire $ date
Thu Jun  8 18:41:43 EDT 2000




More information about the inn-workers mailing list