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

Attachment: ltp-posix-execute.patch
Description: Binary data

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to