r12874: Try to give the startup a few more seconds, so that hosts with
authorAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jan 2006 21:51:02 +0000 (21:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:50:57 +0000 (13:50 -0500)
gnutls-devel installed do not miss the first test.

Andrew Bartlett
(This used to be commit 6e17864c5d2ffc6b4e532e693426574fc57741bf)

source4/script/tests/selftest.sh

index b3f22d773aa2382683b77fa8100ca436ab9b62ba..a4f38cb9dc944cebadab8f7646529cbeaed317b3 100755 (executable)
@@ -182,6 +182,9 @@ START=`date`
  # give time for nbt server to register its names
  echo delaying for nbt name registration
  sleep 4
+ # This will return quickly when things are up, but be slow if we need to wait for (eg) SSL init 
+ bin/nmblookup $CONFIGURATION -U $SERVER $SERVER
+ bin/nmblookup $CONFIGURATION -U $SERVER $SERVER
  bin/nmblookup $CONFIGURATION -U $SERVER $SERVER
 
  failed=0