From: Marcel Poul Date: Sun, 19 Feb 2012 16:59:42 +0000 (+0000) Subject: test client with nonexisting cert file X-Git-Tag: gridsite-core_R_1_7_17~62 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9441934fb046a5a795707c3d37a4575d3dcfdb21;p=jra1mw.git test client with nonexisting cert file --- diff --git a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh index 3dae776..ca2c86c 100755 --- a/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh +++ b/org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh @@ -176,7 +176,7 @@ do ${SYS_LSOF} -i :${nu_port} done if [ ${nu_port} -ne ${max_port} ]; then - ${EMI_CANL_CLIENT} -s localhost -p 11112 + ${EMI_CANL_CLIENT} -s localhost -p ${nu_port} if [ $? != 0 ]; then test_done else @@ -187,6 +187,15 @@ else test_failed fi +#test client with nonexisting proxy certificate +printf "Testing client: use nonexisting proxy certificate\n" +${EMI_CANL_CLIENT} -c /cercert.$$ +if [ $? != 0 ]; then + test_done +else + test_failed +fi + test_end } #} &> $logfile