From 9edaf5d641537a378e0eeb9dfa589a9e4b43d81e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 5 Feb 2013 11:23:14 +0000 Subject: [PATCH] Try to fix occassional fails. --- org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.2.3