From: naresh k. <nar...@gm...> - 2009-07-20 13:05:19
|
Hi, As per the execute.sh script file there is time limit of two minutes for each test case execution if it takes more time it will be reported as HUNG. shm_open/23-1.c test case under posix test suite which executes more than two minitutes so test case reported as HUNG. I have changed time limit from 120 to 300 sec. that is nothing but two minutes to five minutes. In low end machines this test case taking 4 min to complete execution. Now test cases reported as PASS I have attached patch and below. Please review the same. Best regards, Naresh Kamboju /*****************************************************/ Before Patch: conformance/interfaces/shm_open/23-1.test:execution:HUNG After Patch: conformance/interfaces/shm_open/23-1.test:execution:PASS /*****************************************************/ Signed-off-by: Naresh Kamboju < nar...@gm... > diff -Naurb a/testcases/open_posix_testsuite/execute.sh b/testcases/open_posix_testsuite/execute.sh --- a/testcases/open_posix_testsuite/execute.sh 2007-07-26 17:32:11.000000000 +0530 +++ b/testcases/open_posix_testsuite/execute.sh 2009-07-20 17:53:15.000000000 +0530 @@ -163,8 +163,8 @@ declare -i SEGV=0 declare -i OTH=0 -# Maximum Two minutes waiting time period to execute a test. If it exceeds, the test case will go into the 'HUNG' category. -TIMEOUT_VAL=120 +# Maximum five minutes waiting time period to execute a test. If it exceeds, the test case will go into the 'HUNG' category. +TIMEOUT_VAL=300 # if gcc available then remove the below line comment else put the t0 in posixtestsuite directory. #gcc -o t0 t0.c |