From: Marcel Poul Date: Wed, 22 Feb 2012 12:42:24 +0000 (+0000) Subject: CANL server <-> openssl client X-Git-Tag: gridsite-core_R_1_7_17~48 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=21a416dd1677eb679dcdbec81893d60a6c44a2dd;p=jra1mw.git CANL server <-> openssl client --- diff --git a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh index 85ff07c..71ffc85 100755 --- a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh +++ b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh @@ -144,6 +144,23 @@ fi kill ${last_pid} &> /dev/null +printf "Starting canl sample server \n" +${EMI_CANL_SERVER} -k /etc/grid-security/hostkey.pem \ + -c /etc/grid-security/hostcert.pem -p "${lsn_port}" & +last_pid=$! +lp_running=`${SYS_PS} | ${SYS_GREP} -E "${last_pid}" 2> /dev/null` +if [ -n "$lp_running" ]; then + test_done +else + test_failed + test_end + exit 2 +fi +printf "Openssl client: connect to CANL sample server \n" +${SYS_OPENSSL} s_client -quiet -connect "localhost:${lsn_port}" + +#kill ${last_pid} &> /dev/null + test_end } #} &> $logfile