diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-01 05:25:14 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-01 05:25:14 +0000 |
commit | 6b94d489977c1cb2eeddded3ee329fe6b9605d5c (patch) | |
tree | f51d8b2373102cb6c8ac9fc0e051b6f1227a414c /cpp/sca/modules/http/http-test | |
parent | 9f187b46ae761e8275362d6c1533e9fe79028c7b (diff) |
Minor refactoring of read/write functions and primitive procs. Added functions to help store data in memcached. Fixes to HTTP support and more tests.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | cpp/sca/modules/http/http-test | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/cpp/sca/modules/http/http-test b/cpp/sca/modules/http/http-test index b0dd21cbd1..e369cc34f7 100755 --- a/cpp/sca/modules/http/http-test +++ b/cpp/sca/modules/http/http-test @@ -17,18 +17,24 @@ # specific language governing permissions and limitations # under the License. -mkdir -p tmp -mkdir -p tmp/conf -cp test-conf/* tmp/conf -cat >tmp/conf/httpd.conf <<EOF -ServerName 127.0.0.1 -Listen 9091 -DocumentRoot `pwd`/test-htdocs +# Setup +./httpd-conf tmp 8091 htdocs +cat >>tmp/conf/httpd.conf <<EOF +<Location /test> +SetHandler mod_tuscany +SCAContribution `pwd`/ +SCAComponent httpd-test +SCAImplementation httpd-test.scm +</Location> EOF -mkdir -p tmp/logs apachectl -k start -d `pwd`/tmp sleep 1 + +# Test ./curl-test rc=$? + +# Cleanup apachectl -k stop -d `pwd`/tmp +sleep 1 return $rc |