Module: wine Branch: refs/heads/master Commit: 39a1a9422149a0d3d081f02d540423eac131bfaa URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=39a1a9422149a0d3d081f02d...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Feb 21 19:30:29 2006 +0100
shell32: Use more reasonable timeouts in shlexec test.
---
dlls/shell32/tests/shlexec.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index b2652f2..98a3819 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -112,7 +112,7 @@ static int shell_execute(LPCSTR operatio if (rc>=32) { int wait_rc; - wait_rc=WaitForSingleObject(hEvent, 60000); + wait_rc=WaitForSingleObject(hEvent, 5000); ok(wait_rc==WAIT_OBJECT_0, "WaitForSingleObject returned %d\n", wait_rc); } /* The child process may have changed the result file, so let profile @@ -172,10 +172,10 @@ static int shell_execute_ex(DWORD mask, int wait_rc; if (sei.hProcess!=NULL) { - wait_rc=WaitForSingleObject(sei.hProcess, 60000); + wait_rc=WaitForSingleObject(sei.hProcess, 5000); ok(wait_rc==WAIT_OBJECT_0, "WaitForSingleObject(hProcess) returned %d\n", wait_rc); } - wait_rc=WaitForSingleObject(hEvent, 60000); + wait_rc=WaitForSingleObject(hEvent, 5000); ok(wait_rc==WAIT_OBJECT_0, "WaitForSingleObject returned %d\n", wait_rc); } /* The child process may have changed the result file, so let profile