Patchwork test-command-template.t time-based (I think?) failure

login
register
mail settings
Submitter Augie Fackler
Date Jan. 1, 2013, 12:51 a.m.
Message ID <FA6D617B-327E-4163-A8E4-BCDCAF920A46@durin42.com>
Download mbox | patch
Permalink /patch/338/
State Not Applicable
Headers show

Comments

Augie Fackler - Jan. 1, 2013, 12:51 a.m.
test-command-template.t is broken somehow (on my mac, at least). I thought it was timezone related, but it fails even if I export TZ=UTC. Thoughts?

I *think* it has something to do with the impending new year, but I can't isolate the exact cause right now. Failure below (timezone with this failure was America/New York, if that helps):

augie% make test-command-template.t
cd tests && python run-tests.py  test-command-template.t


ERROR: /Users/augie/Programming/hg/crew/tests/test-command-template.t output changed
!
Failed test-command-template.t: output changed
# Ran 1 tests, 0 skipped, 1 failed.
make: *** [test-command-template.t] Error 1

Patch

--- /Users/augie/Programming/hg/crew/tests/test-command-template.t
+++ /Users/augie/Programming/hg/crew/tests/test-command-template.t.err
@@ -1354,7 +1354,7 @@ 
   $ hg commit -m future -d "`cat a`"
 
   $ hg log -l1 --template '{date|age}\n'
-  7 years from now
+  8 years from now
 
 Error on syntax: