summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestTestTimeout/timeout.c')
-rw-r--r--Tests/CTestTestTimeout/timeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CTestTestTimeout/timeout.c b/Tests/CTestTestTimeout/timeout.c
index ba91bc0..370ab22 100644
--- a/Tests/CTestTestTimeout/timeout.c
+++ b/Tests/CTestTestTimeout/timeout.c
@@ -9,9 +9,9 @@
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;