Catch bind ../../tests/kdc/signal: Operation not permitted

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21881 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-08-09 07:14:08 +00:00
parent 829606ee46
commit 442c4c29fd

View File

@@ -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