Bug 105191 - lang/tcl84: Tests from clock.test failing
lang/tcl84: Tests from clock.test failing
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: FreeBSD ports mailing list
Depends on:
  Show dependency treegraph
Reported: 2006-11-06 00:30 UTC by gregory.nou
Modified: 2006-12-01 15:50 UTC (History)
0 users

See Also:

file.diff (508 bytes, patch)
2006-11-06 00:30 UTC, gregory.nou
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gregory.nou 2006-11-06 00:30:29 UTC
Package does not deal with locale correctly, e.g.

==== clock-3.1 clock format tests FAILED
==== Contents of test case:

    set clockval 657687766
    clock format $clockval -format {%a %b %d %I:%M:%S %p %Y}

---- Result was:
Dim nov 04 03:02:46  1990
---- Result should have been (exact matching):
Sun Nov 04 03:02:46 AM 1990
==== clock-3.1 FAILED

Fix: Patch attached with submission follows:
How-To-Repeat: set LC_ALL to any non-english language
Comment 1 Shaun Amott freebsd_committer 2006-11-06 01:31:50 UTC
State Changed
From-To: open->feedback

To which port does this PR apply?
Comment 2 Shaun Amott freebsd_committer 2006-11-06 15:38:37 UTC
State Changed
From-To: feedback->open

Feedback received.
Comment 3 pav freebsd_committer 2006-12-01 15:34:28 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter freebsd_committer 2006-12-01 15:40:34 UTC
pav         2006-12-01 15:40:16 UTC

  FreeBSD ports repository

  Modified files:
    lang/tcl84           Makefile 
  - Be more thorough in resetting locales to ensure successfull test run
  PR:             ports/105191
  Submitted by:   Gregory Nou <gregory.nou@gmail.com>
  Revision  Changes    Path
  1.97      +1 -1      ports/lang/tcl84/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"