Skip to content
Tcl Source Code View Ticket
Login

View Ticket

several clock testsuite failures on Tru64

Closed / Wont Fix1396330fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-01-03 21:27:50
I've only recently started running the testsuite when
building tcl and tk, so I don't know how long this has
been the case, but I'm guessing "forever".

Running the test suite on Tru64 UNIX 5.1b, I see
several failures in the clock tests.  The failing tests
are (I won't show the script, just the test and the
results)

clock-3.2
---- Result was:
CSTPST
---- Result should have been (exact matching):
GMTPST

clock-3.4
---- Result was:
CSTCST
---- Result should have been (exact matching):
GMTGMT

clock-10.0
---- Result was:
%G
---- Result should have been (exact matching):
1970

clock-41.1
---- Result was:
%k
---- Result should have been (exact matching):
 0



I haven't looked closely at the code, but I'm assuming
these are all related to format modifiers in
strftime().  The system strftime() on Tru64 doesn't
support %k or %G.  It does support %Z.


If there's some additional information I can provide,
please let me know.
dkfplain2006-01-04 15:58:45
Logged In: YES 
user_id=79902

I believe this sort of problem is why we are going away from
the use of strftime() in Tcl 8.5; too many bizarre platform
bugs and inconsistencies. Assigning to the [clock]
maintainer for confirmation.
kennykbplain2006-09-02 00:02:34
Logged In: YES 
user_id=99768

Indeed, dkf is right that this sort of incompatibility
is why we're moving away from strftime().  I'm going to
close this out as "fixed in 8.5, well-nigh unfixable in
8.4".  Alas.
Log in (anonymous is fine) to add a comment.