summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/wsgi/http-test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/wsgi/http-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/http-test b/sca-cpp/trunk/modules/wsgi/http-test
index 5499399b31..aef76d47c4 100755
--- a/sca-cpp/trunk/modules/wsgi/http-test
+++ b/sca-cpp/trunk/modules/wsgi/http-test
@@ -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