[tor-bugs] #17033 [metrics-lib]: failing tests due to system locale

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 13 13:47:49 UTC 2015


#17033: failing tests due to system locale
-----------------------------+--------------------------
     Reporter:  iwakeh       |      Owner:  karsten
         Type:  defect       |     Status:  needs_review
     Priority:  minor        |  Milestone:
    Component:  metrics-lib  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------
Changes (by karsten):

 * status:  new => needs_review


Comment:

 I think the US locale is necessary, because we're parsing Apache's
 directory listing which are, by default, using the US locale to format
 dates.  I looked around but didn't find a way to change the locale and
 then gave up.  I added a test case for non-US locale.

 Please review [https://gitweb.torproject.org/user/karsten/metrics-
 lib.git/log/?h=task-17033 branch task-17033 in my public repository].

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17033#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list