diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test517 | 8 | ||||
-rw-r--r-- | tests/libtest/lib517.c | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/tests/data/test517 b/tests/data/test517 index 070e1faa0..04aa6a089 100644 --- a/tests/data/test517 +++ b/tests/data/test517 @@ -100,11 +100,9 @@ nothing 71: 15 April 2017 21:01:22 => -1 72: 98 April 17 21:01:22 => -1 73: Thu, 012-Aug-2008 20:49:07 GMT => 1218574147 -74: Thu, 12-Aug-31841 20:49:07 GMT => 2147483647 -75: Thu, 12-Aug-9999999999 20:49:07 GMT => 2147483647 -76: Thu, 999999999999-Aug-2007 20:49:07 GMT => -1 -77: Thu, 12-Aug-2007 20:61:99999999999 GMT => -1 -78: IAintNoDateFool => -1 +74: Thu, 999999999999-Aug-2007 20:49:07 GMT => -1 +75: Thu, 12-Aug-2007 20:61:99999999999 GMT => -1 +76: IAintNoDateFool => -1 </stdout> # This test case previously testes an overflow case ("2094 Nov 6 => diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c index 5f8971f8c..d07e74602 100644 --- a/tests/libtest/lib517.c +++ b/tests/libtest/lib517.c @@ -88,8 +88,13 @@ static const char *dates[]={ "15 April 2017 21:01:22", "98 April 17 21:01:22", "Thu, 012-Aug-2008 20:49:07 GMT", +#if 0 + /* leaving out these strings since they differ between 32 and 64 bit + archs and the test suite has no good way to support two different outputs + like that */ "Thu, 12-Aug-31841 20:49:07 GMT", "Thu, 12-Aug-9999999999 20:49:07 GMT", +#endif "Thu, 999999999999-Aug-2007 20:49:07 GMT", "Thu, 12-Aug-2007 20:61:99999999999 GMT", "IAintNoDateFool", |