From f278315081b24b59bf73e9613e552e3519200a71 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 28 May 2012 04:39:18 +0000 Subject: Improve error reporting with a reason code. Improve debug and audit logging. Fix test scripts to cleanup state from previous builds and correctly report test errors. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343138 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/samples/store-cluster/start | 1 + sca-cpp/trunk/samples/store-constdb/start | 1 + sca-cpp/trunk/samples/store-cpp/start | 1 + sca-cpp/trunk/samples/store-gae/server-test | 1 + sca-cpp/trunk/samples/store-java/start | 1 + sca-cpp/trunk/samples/store-python/start | 1 + sca-cpp/trunk/samples/store-scheme/start | 1 + sca-cpp/trunk/samples/store-sql/start | 1 + sca-cpp/trunk/samples/store-vhost/start | 1 + 9 files changed, 9 insertions(+) (limited to 'sca-cpp/trunk/samples') diff --git a/sca-cpp/trunk/samples/store-cluster/start b/sca-cpp/trunk/samples/store-cluster/start index 0aa6e42b03..dcc7e1e7a7 100755 --- a/sca-cpp/trunk/samples/store-cluster/start +++ b/sca-cpp/trunk/samples/store-cluster/start @@ -26,6 +26,7 @@ sudo ../../ubuntu/ip-redirect-all 80 8090 #sudo ../../ubuntu/ip-redirect-all 80 8091 # Start scribe logging +rm -rf tmp ../../components/log/scribed-central-conf tmp/monitor ../../components/log/scribed-client-conf tmp/monitor localhost ../../components/log/scribed-central-start tmp/monitor diff --git a/sca-cpp/trunk/samples/store-constdb/start b/sca-cpp/trunk/samples/store-constdb/start index 972d7f9bd2..58b15c0ec3 100755 --- a/sca-cpp/trunk/samples/store-constdb/start +++ b/sca-cpp/trunk/samples/store-constdb/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/server/server-conf tmp diff --git a/sca-cpp/trunk/samples/store-cpp/start b/sca-cpp/trunk/samples/store-cpp/start index 444a87c4eb..4ad506f7b5 100755 --- a/sca-cpp/trunk/samples/store-cpp/start +++ b/sca-cpp/trunk/samples/store-cpp/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/server/server-conf tmp diff --git a/sca-cpp/trunk/samples/store-gae/server-test b/sca-cpp/trunk/samples/store-gae/server-test index 8dcb444418..2235811556 100755 --- a/sca-cpp/trunk/samples/store-gae/server-test +++ b/sca-cpp/trunk/samples/store-gae/server-test @@ -26,6 +26,7 @@ curl_prefix=`cat $here/../../modules/http/curl.prefix` sleep 2 # Test HTTP GET (with authentication) +rm -rf tmp mkdir -p tmp $curl_prefix/bin/curl -L -c tmp/cookies.txt -b tmp/cookies.txt "http://localhost:8090/_ah/login?email=test@example.com&action=Login&continue=http://localhost:8090/" 2>/dev/null >tmp/index.html diff tmp/index.html htdocs/index.html diff --git a/sca-cpp/trunk/samples/store-java/start b/sca-cpp/trunk/samples/store-java/start index 6952771e3d..99a3f982b7 100755 --- a/sca-cpp/trunk/samples/store-java/start +++ b/sca-cpp/trunk/samples/store-java/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/server/server-conf tmp ../../modules/java/java-conf tmp diff --git a/sca-cpp/trunk/samples/store-python/start b/sca-cpp/trunk/samples/store-python/start index 2e509a1f2c..d52a41ec13 100755 --- a/sca-cpp/trunk/samples/store-python/start +++ b/sca-cpp/trunk/samples/store-python/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/server/server-conf tmp diff --git a/sca-cpp/trunk/samples/store-scheme/start b/sca-cpp/trunk/samples/store-scheme/start index f3575db076..bef6f0372b 100755 --- a/sca-cpp/trunk/samples/store-scheme/start +++ b/sca-cpp/trunk/samples/store-scheme/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/server/server-conf tmp diff --git a/sca-cpp/trunk/samples/store-sql/start b/sca-cpp/trunk/samples/store-sql/start index d4cf3c265b..f3d5e67a33 100755 --- a/sca-cpp/trunk/samples/store-sql/start +++ b/sca-cpp/trunk/samples/store-sql/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp localhost 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/server/server-conf tmp diff --git a/sca-cpp/trunk/samples/store-vhost/start b/sca-cpp/trunk/samples/store-vhost/start index 9c76b6f748..fef691a058 100755 --- a/sca-cpp/trunk/samples/store-vhost/start +++ b/sca-cpp/trunk/samples/store-vhost/start @@ -17,6 +17,7 @@ # specific language governing permissions and limitations # under the License. +rm -rf tmp ../../modules/http/httpd-conf tmp example.com 8090 htdocs ../../modules/http/httpd-event-conf tmp ../../modules/http/vhost-conf tmp domains htdocs -- cgit v1.2.3