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