summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-test b/sca-cpp/trunk/modules/http/httpd-test
index a3b9145871..909bfa29f1 100755
--- a/sca-cpp/trunk/modules/http/httpd-test
+++ b/sca-cpp/trunk/modules/http/httpd-test
@@ -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
@@ -37,4 +37,4 @@ sleep 2
if [ "$rc" = "0" ]; then
echo "OK"
fi
-return $rc
+exit $rc