From 442c4c29fd21342fa171eabdd07b186a26e3b53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 9 Aug 2007 07:14:08 +0000 Subject: [PATCH] Catch bind ../../tests/kdc/signal: Operation not permitted git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21881 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tests/kdc/wait-kdc.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kdc/wait-kdc.sh b/tests/kdc/wait-kdc.sh index 8e6a4d865..fb5c16424 100644 --- a/tests/kdc/wait-kdc.sh +++ b/tests/kdc/wait-kdc.sh @@ -53,6 +53,10 @@ while true ; do echo "The ${name} failed to bind to any sockets, another ${name} running ?" exit 1 fi + if tail -30 ${log} | grep "bind" | grep "Operation not permitted" ; then + echo "The ${name} failed to bind to any sockets, another ${name} running ?" + exit 1 + fi if [ "$t" -gt $waitsec ]; then echo "Waited for $waitsec for the ${name} to start, and it didnt happen" exit 2