Hi,

Sometimes, sched_cli_serv test case can still fail due to,

client: connect failure, no = 111

This is because when the system is under load, the client may connect
before the server is ready. This patch fixes it by letting the server
run for 10 seconds first. It also disable shell command tracing by
default which was accidentally introduced by the last patch,

http://article.gmane.org/gmane.linux.ltp/7149

Signed-off-by: CAI Qian <caiq...@cclom.cn>

--- ltp-full-20081031/testcases/kernel/sched/clisrv/run_sched_cliserv.sh.orig   
2009-01-16 11:12:49.821546689 +0800
+++ ltp-full-20081031/testcases/kernel/sched/clisrv/run_sched_cliserv.sh        
2009-01-16 11:13:18.935562956 +0800
@@ -1,6 +1,7 @@
-#!/bin/sh -x
+#!/bin/sh
 
 pthserv &
+sleep 10
 pthcli 127.0.0.1 $LTPROOT/testcases/bin/data
 clientCode=$?
 killall pthserv

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to