summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-java/server-test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/samples/store-java/server-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/samples/store-java/server-test b/sca-cpp/trunk/samples/store-java/server-test
index 1612bc59e2..fb629a6814 100755
--- a/sca-cpp/trunk/samples/store-java/server-test
+++ b/sca-cpp/trunk/samples/store-java/server-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/../../modules/http/curl.prefix`
# Setup
@@ -55,4 +55,4 @@ sleep 2
if [ "$rc" = "0" ]; then
echo "OK"
fi
-return $rc
+exit $rc