Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e96b9c0a7ac67ddafefbc8c16917a71831d2b80
Ticket: 748939ffffffffffffffffffffffffffffffffff
clock.test produces wrong TZ on Tru64
User & Date: mmokrejs on 2003-06-04 15:48:48
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
    I have compiled tcl8.4.3 on Tru64Unix (formerly OSF1)
    and make test fails in many cases. Would someone
    inspect the output? Thanks!
    
    I used cc/cxx from vendor, latest version, C*FLAGS"-O2
    -arch ev56" if that matters.
    
    
    The original bugreport is at
    https://sourceforge.net/tracker/?func=detail&atid=110894&aid=748804&group_id=10894
    
    ==== clock-3.2 clock format tests FAILED
    ==== Contents of test case:
    
        # TCL_USE_TIMEZONE_VAR
    
        catch {set oldtz $env(TZ)}
        set env(TZ) PST
        set x {}
        append x [clock format 863800000 -format %Z -gmt 1]
        append x [set env(TZ)]
        catch {unset env(TZ); set env(TZ) $oldtz}
        set x
    
    ---- Result was:
    METPST
    ---- Result should have been (exact matching):
    GMTPST
    ==== clock-3.2 FAILED
    
    
    ==== clock-3.4 clock format tests FAILED
    ==== Contents of test case:
    
        # tzset() under Borland doesn't seem to set up
    tzname[] for gmt timezone.
        # tzset() under MSVC has the following weird
    observed behavior:
        # First time we call "clock format [clock seconds]
    -format %Z -gmt 1"
        # we get "GMT", but on all subsequent calls we get
    the current time 
        # zone string, even though env(TZ) is GMT and the
    variable _timezone 
        #    is 0.
    
        set x {}
        append x [clock format 863800000 -format %Z -gmt 1]
        append x [clock format 863800000 -format %Z -gmt 1]
    
    ---- Result was:
    METMET
    ---- Result should have been (exact matching):
    GMTGMT
    ==== clock-3.4 FAILED
    
  4. foundin changed to: "obsolete: 8.4.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mmokrejs"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "clock.test failed"
  11. type changed to: "Bug"