From 9441934fb046a5a795707c3d37a4575d3dcfdb21 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Sun, 19 Feb 2012 16:59:42 +0000 Subject: [PATCH] test client with nonexisting cert file --- .../CANL-C/tests/canl-test-sec-connection.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 1.8.2.3