Index: ltp/testcases/open_posix_testsuite/execute.sh =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/open_posix_testsuite/execute.sh,v retrieving revision 1.3 diff -u -r1.3 execute.sh --- ltp/testcases/open_posix_testsuite/execute.sh 4 Aug 2009 10:50:07 -0000 1.3 +++ ltp/testcases/open_posix_testsuite/execute.sh 13 Sep 2009 23:58:41 -0000 @@ -166,8 +166,11 @@ # 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 +if [ ! -x t0 ] +then + cc -O2 -o t0 t0.c +fi + ./t0 0 > /dev/null 2>&1 TIMEVAL_RET=$?