Port to Mac OS X 10.6.7.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2011-06-28 15:50:47 +00:00
commit caec161501
158 changed files with 875 additions and 353 deletions

View file

@ -18,8 +18,8 @@
# under the License.
# Start Google AppEngine server
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
root=`echo "import os; print os.path.realpath('$1')" | python`
port=$2
python_prefix=`cat $here/../python/python.prefix`

View file

@ -18,8 +18,8 @@
# under the License.
# Stop Google AppEngine server
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
root=`echo "import os; print os.path.realpath('$1')" | python`
port=$2
python_prefix=`cat $here/../python/python.prefix`

View file

@ -27,4 +27,4 @@ rc=$?
# Cleanup
./gae-stop target 8090
return $rc
exit $rc

View file

@ -23,7 +23,7 @@ mkdir -p tmp
sleep 2
# Test JSON-RPC
here=`readlink -f $0`; here=`dirname $here`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
python_prefix=`cat $here/../python/python.prefix`
$python_prefix/bin/python http-test.py
rc=$?
@ -31,4 +31,4 @@ rc=$?
# Cleanup
./wsgi-stop target 8090
sleep 2
return $rc
exit $rc

View file

@ -27,4 +27,4 @@ rc=$?
# Cleanup
./wsgi-stop target 8090
return $rc
exit $rc

View file

@ -18,7 +18,7 @@
# under the License.
# Run Python util test cases
here=`readlink -f $0`; here=`dirname $here`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
python_prefix=`cat $here/../python/python.prefix`
$python_prefix/bin/python stream-test.py
@ -40,4 +40,4 @@ if [ "$rc" = "0" ]; then
rc=$?
fi
return $rc
exit $rc

View file

@ -18,7 +18,7 @@
# under the License.
echo "Testing..."
here=`readlink -f $0`; here=`dirname $here`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
curl_prefix=`cat $here/../http/curl.prefix`
uri=$1
if [ "$uri" = "" ]; then
@ -72,4 +72,4 @@ sleep 2
if [ "$rc" = "0" ]; then
echo "OK"
fi
return $rc
exit $rc

View file

@ -18,8 +18,8 @@
# under the License.
# Start WSGI server
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
root=`echo "import os; print os.path.realpath('$1')" | python`
port=$2
python_prefix=`cat $here/../python/python.prefix`

View file

@ -18,8 +18,8 @@
# under the License.
# Stop WSGI server
here=`readlink -f $0`; here=`dirname $here`
root=`readlink -f $1`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
root=`echo "import os; print os.path.realpath('$1')" | python`
port=$2
python_prefix=`cat $here/../python/python.prefix`

View file

@ -18,7 +18,7 @@
# under the License.
echo "Testing..."
here=`readlink -f $0`; here=`dirname $here`
here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
curl_prefix=`cat $here/../http/curl.prefix`
# Setup
@ -68,4 +68,4 @@ sleep 2
if [ "$rc" = "0" ]; then
echo "OK"
fi
return $rc
exit $rc