diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index 0e8f551159..82e5f6c27c 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -428,6 +428,7 @@ Features testable here are: - `ipv6` - `Kerberos` - `large_file` +- `large-time` (time_t is larger than 32 bit) - `ld_preload` - `libssh2` - `libssh` diff --git a/tests/runtests.pl b/tests/runtests.pl index 4127c9c734..01a8a0aa68 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -793,6 +793,7 @@ sub checksystemfeatures { $feature{"wakeup"} = 1; $feature{"headers-api"} = 1; $feature{"xattr"} = 1; + $feature{"large-time"} = 1; # make each protocol an enabled "feature" for my $p (@protocols) { diff --git a/tests/server/disabled.c b/tests/server/disabled.c index a04b355020..a9b43b8355 100644 --- a/tests/server/disabled.c +++ b/tests/server/disabled.c @@ -84,6 +84,9 @@ static const char *disabled[]={ #endif #ifdef CURL_DISABLE_FORM_API "form-api", +#endif +#if (SIZEOF_TIME_T < 5) + "large-time", #endif NULL };