check test status
authorMarcel Poul <marcel.poul@cern.ch>
Fri, 16 Mar 2012 00:18:41 +0000 (00:18 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Fri, 16 Mar 2012 00:18:41 +0000 (00:18 +0000)
org.glite.testsuites.ctb/CANL-C/tests/canl-test-sec-connection.sh

index e7cdce8..14e57e9 100755 (executable)
@@ -189,6 +189,11 @@ fi
 
 printf "CANL client: connect to CANL sample server \n"
 ${EMI_CANL_CLIENT} -s localhost -p "${nu_port}"
+if [ $? != 0 ]; then
+       test_failed
+else
+       test_done
+fi
 
 kill ${last_pid} &> /dev/null