From: František Dvořák Date: Tue, 5 Feb 2013 11:23:14 +0000 (+0000) Subject: Try to fix occassional fails. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9edaf5d641537a378e0eeb9dfa589a9e4b43d81e;p=jra1mw.git Try to fix occassional fails. --- 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 3488e6b..a19e503 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 @@ -146,6 +146,8 @@ fi cat $pipe_srv | ${OPENSSL} s_server -key /etc/grid-security/hostkey.pem \ -cert /etc/grid-security/hostcert.pem -quiet -accept "${nu_port}" & last_pid=$! +# give it a time to start before checks +sleep 1 lp_running=`${SYS_PS} | ${SYS_GREP} -E "${last_pid}" 2> /dev/null` if [ -n "$lp_running" ]; then test_done