mps

morphux package server
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/mps

commit 74b2de656a4808b985e6b991230f9a0930c4fb13
parent 21c6ed4b2d5d9d0f988f9dc09990c317383abf89
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Tue,  2 May 2017 14:58:56 +0200

Fix(Tests): Update submodule, and fix test script

Diffstat:
Mlaunch_test.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/launch_test.sh b/launch_test.sh @@ -3,13 +3,15 @@ DB="mock3.db" IP="127.0.0.1" PORT="6666" +P_CERT="tls/server.crt" +PRIV_CERT="tls/server.key" -./mps -db=./test_database/${DB} ${IP}:${PORT} & +./mps -db=./test_database/${DB} -pub ${P_CERT} -priv ${PRIV_CERT} ${IP}:${PORT} & MPS_PID=$! sleep 2; echo ${MPS_PID} -./tests/protocol_tests -a ${IP} -p ${PORT} -d test_database/${DB} client +./tests/protocol_tests -a ${IP} -p ${PORT} -d test_database/${DB} -c ${P_CERT} client RET=$? kill ${MPS_PID} exit ${RET};