On 07/11/2016 07:54 PM, Jeff King wrote:
Yes, that's somewhat the point of the test. How does it fail for you (what does it look like with "-v")? We may be able to check for an outcome that matches both cases.
On Ubuntu i386 and Ubuntu armhf, I get the following verbose output from t0006-date.sh:
expecting success: echo "$time -> $expect" >expect && test-date show:$format "$time" >actual && test_cmp expect actual --- expect 2016-07-11 23:20:55.835136188 +0000 +++ actual 2016-07-11 23:20:55.835136188 +0000 @@ -1 +1 @@ -5758122296 -0400 -> 2152-06-19 18:24:56 -0400 +5758122296 -0400 -> 2038-01-18 23:14:07 -0400 not ok 19 - show date (iso:5758122296 -0400) # # echo "$time -> $expect" >expect && # test-date show:$format "$time" >actual && # test_cmp expect actual # expecting success: echo "$time -> $expect" >expect && test-date show:$format "$time" >actual && test_cmp expect actual --- expect 2016-07-11 23:20:55.839136188 +0000 +++ actual 2016-07-11 23:20:55.839136188 +0000 @@ -1 +1 @@ -5758122296 -0400 -> 2152-06-19 22:24:56 +0000 +5758122296 -0400 -> 2038-01-19 03:14:07 +0000 not ok 20 - show date (iso-local:5758122296 -0400) Anders -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html