summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/server-test
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/hosting/server/server-test')
-rwxr-xr-xsca-cpp/trunk/hosting/server/server-test13
1 files changed, 8 insertions, 5 deletions
diff --git a/sca-cpp/trunk/hosting/server/server-test b/sca-cpp/trunk/hosting/server/server-test
index d4767e858f..4d4d06f338 100755
--- a/sca-cpp/trunk/hosting/server/server-test
+++ b/sca-cpp/trunk/hosting/server/server-test
@@ -17,12 +17,15 @@
# specific language governing permissions and limitations
# under the License.
-# Run Python test cases
-here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
-python_prefix=`cat $here/../../modules/python/python.prefix`
-export LD_LIBRARY_PATH=$python_prefix/lib:$LD_LIBRARY_PATH
+# Setup
+./ssl-proxy-start
+sleep 2
-$python_prefix/bin/python test.py 2>/dev/null
+# Test
+./client-test 2>/dev/null
rc=$?
+# Cleanup
+./stop
+sleep 2
exit $rc