diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/server/wiring-test | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/sca-cpp/trunk/modules/server/wiring-test b/sca-cpp/trunk/modules/server/wiring-test index 5f77d4c6f8..5b3a678f7f 100755 --- a/sca-cpp/trunk/modules/server/wiring-test +++ b/sca-cpp/trunk/modules/server/wiring-test @@ -24,29 +24,14 @@ echo "Testing..." ./server-conf tmp cat >>tmp/conf/httpd.conf <<EOF -<Location /test> -SetHandler mod_tuscany_eval -SCAContribution `pwd`/ -SCAComposite domain-test.composite -SCAComponent server-test -</Location> - -<Location /client> -SetHandler mod_tuscany_eval -SCAContribution `pwd`/ -SCAComposite domain-test.composite -SCAComponent client-test -</Location> - -<Location /references> -SetHandler mod_tuscany_wiring +<Location /> SCAContribution `pwd`/ SCAComposite domain-test.composite </Location> EOF apachectl -k start -d `pwd`/tmp -sleep 1 +sleep 2 # Test HTTP GET curl http://localhost:8090/index.html 2>/dev/null >tmp/index.html @@ -86,7 +71,7 @@ fi # Cleanup apachectl -k stop -d `pwd`/tmp -sleep 1 +sleep 2 if [ "$rc" = "0" ]; then echo "OK" fi |