diff options
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/samples/store-cluster/server-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/server-test b/sca-cpp/trunk/samples/store-cluster/server-test index 68856f530e..0a3a5ea73b 100755 --- a/sca-cpp/trunk/samples/store-cluster/server-test +++ b/sca-cpp/trunk/samples/store-cluster/server-test @@ -21,7 +21,7 @@ # 127.0.0.1 sca-store.com joe.sca-store.com joe.sca-store.com 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 @@ -58,4 +58,4 @@ sleep 2 if [ "$rc" = "0" ]; then echo "OK" fi -return $rc +exit $rc |