diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-09 07:56:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-09 07:56:32 +0000 |
commit | d26cfd5791c13daa7b263368959f0ec85774402e (patch) | |
tree | 394354e7d24502e8a9d5a38d93c7a6a077a33398 | |
parent | b7ffc6bb451c1a5f6689db707bc2555167fc6231 (diff) |
skip the test of "2094 Nov 6" for now, since the 64bit time_t systems return
different values for it...
-rw-r--r-- | tests/data/test517 | 9 | ||||
-rw-r--r-- | tests/libtest/lib517.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/tests/data/test517 b/tests/data/test517 index c38f41cc8..7a8bf2914 100644 --- a/tests/data/test517 +++ b/tests/data/test517 @@ -47,6 +47,13 @@ nothing 19: Sat, 11 Sep 2004 21:32:11 +0200 => 1094931131 20: 20040912 15:05:58 -0700 => 1095026758 21: 20040911 +0200 => 1094853600 -22: 2094 Nov 6 => 2147483647 </stdout> + +# This test case previously testes an overflow case ("2094 Nov 6 => +# 2147483647") for 32bit time_t, but since some systems have 64bit time_t and +# handles this (returning 3939840000), and some 64bit-time_t systems don't +# handle this and returns -1 for this, it turned very tricky to write a fine +# test case and thus it is now removed until we have a way to write test cases +# for this kind of things. + </verify> diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c index ea296914f..1a4aefc54 100644 --- a/tests/libtest/lib517.c +++ b/tests/libtest/lib517.c @@ -23,7 +23,7 @@ const char *dates[]={ "Sat, 11 Sep 2004 21:32:11 +0200", "20040912 15:05:58 -0700", "20040911 +0200", - "2094 Nov 6", +/* "2094 Nov 6", See ../data/test517 for details */ NULL }; |