From 00438314438f3dde00b532ac5d8d28ccc35c7096 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 17 Feb 2010 04:14:31 +0000 Subject: Working queue and chat components. Added a few useful start/stop scripts. Fixed lifecycle code to call start/stop/restart functions before APR pools are cleaned up in both parent and child processes. Minor build script improvements. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910819 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/components/cache/server-test | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sca-cpp/trunk/components/cache/server-test') diff --git a/sca-cpp/trunk/components/cache/server-test b/sca-cpp/trunk/components/cache/server-test index 821724295d..4942f547bc 100755 --- a/sca-cpp/trunk/components/cache/server-test +++ b/sca-cpp/trunk/components/cache/server-test @@ -26,18 +26,16 @@ SCAContribution `pwd`/ SCAComposite mcache.composite EOF +./memcached-start ../../modules/http/httpd-start tmp - -mc="memcached -l 127.0.0.1 -m 4 -p 11211" -$mc & sleep 2 # Test -./client-test +./client-test 2>/dev/null rc=$? # Cleanup -kill `ps -f | grep -v grep | grep "$mc" | awk '{ print $2 }'` ../../modules/http/httpd-stop tmp +./memcached-stop sleep 2 return $rc -- cgit v1.2.3