1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

skip the test of "2094 Nov 6" for now, since the 64bit time_t systems return

different values for it...
This commit is contained in:
Daniel Stenberg 2005-03-09 07:56:32 +00:00
parent b7ffc6bb45
commit d26cfd5791
2 changed files with 9 additions and 2 deletions

View File

@ -47,6 +47,13 @@ nothing
19: Sat, 11 Sep 2004 21:32:11 +0200 => 1094931131 19: Sat, 11 Sep 2004 21:32:11 +0200 => 1094931131
20: 20040912 15:05:58 -0700 => 1095026758 20: 20040912 15:05:58 -0700 => 1095026758
21: 20040911 +0200 => 1094853600 21: 20040911 +0200 => 1094853600
22: 2094 Nov 6 => 2147483647
</stdout> </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> </verify>

View File

@ -23,7 +23,7 @@ const char *dates[]={
"Sat, 11 Sep 2004 21:32:11 +0200", "Sat, 11 Sep 2004 21:32:11 +0200",
"20040912 15:05:58 -0700", "20040912 15:05:58 -0700",
"20040911 +0200", "20040911 +0200",
"2094 Nov 6", /* "2094 Nov 6", See ../data/test517 for details */
NULL NULL
}; };