diff options
Diffstat (limited to 'Tests/CTestTestTimeout/timeout.c')
-rw-r--r-- | Tests/CTestTestTimeout/timeout.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/CTestTestTimeout/timeout.c b/Tests/CTestTestTimeout/timeout.c index 559b6a5..370ab22 100644 --- a/Tests/CTestTestTimeout/timeout.c +++ b/Tests/CTestTestTimeout/timeout.c @@ -4,12 +4,15 @@ # include <unistd.h> #endif +#include <stdio.h> + int main(void) { #if defined(_WIN32) - Sleep(5000); + Sleep((TIMEOUT+4)*1000); #else - sleep(5); + sleep((TIMEOUT+4)); #endif + printf("timeout process finished sleeping!\n"); return -1; } |