After tested the latest LTP cases, the connector cases failed on RHEL5.2

------------
[EMAIL PROTECTED] cvs_ltp.orig]# uname -a
Linux p55Alp2.cn.ibm.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:21:29 EDT
2008 ppc64 ppc64 ppc64 GNU/Linux

[EMAIL PROTECTED] cvs_ltp.orig]# ./runltp -f connectors
......
Running tests.......
<<<test_start>>>
tag=Connectors stime=1224168759
cmdline="connector_test.sh"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
incrementing stop
/home/ltp/cvs_ltp.orig/testcases/bin/connector_test.sh: line 9:
/home/ltp/cvs_ltp.orig/testcases/bin/run_pec_test: No such file or
directory
<<<execution_status>>>
duration=0 termination_type=exited termination_id=127 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: pan reported some tests FAIL

==============
After patching
==============
[EMAIL PROTECTED] cvs_ltp]# ./runltp -f connectors
......
Running tests.......
<<<test_start>>>
tag=Connectors stime=1224169011
cmdline="connector_test.sh"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
incrementing stop
Connectors 0 CONF : system doesn't support execution of the test
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: pan reported all tests PASS


Signed-off-by: Jin Bing Guo <[EMAIL PROTECTED]>
-----


Thanks,
--Jin Bing Guo
--- cvs_ltp.orig/testcases/kernel/connectors/connector_test.sh	2008-09-11 22:26:45.000000000 -0400
+++ cvs_ltp/testcases/kernel/connectors/connector_test.sh	2008-10-16 09:22:59.000000000 -0400
@@ -1,7 +1,6 @@
 #!/bin/sh
 
-tst_kvercmp 2 6 15
-if [ $? -eq 0 ]; then
+if [ ! -f /proc/net/connector ];then
 	echo "Connectors 0 CONF : system doesn't support execution of the test"
 	exit 0
 fi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to