Hi,

Hope you have reviewed below patch.
If you any issue please let me know.

Subrata/ Garrett,
Please review, if you feel okay.
commit.

Best regards,
Naresh Kamboju


On Mon, Jul 20, 2009 at 6:35 PM, naresh kamboju<[email protected]> wrote:
> 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 < [email protected] >
>
> 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
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to