r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup
commit9ce2b9a79ba34705bcd8c32db1e084763702faec
authorAndrew Tridgell <tridge@samba.org>
Sat, 11 Jun 2005 04:07:20 +0000 (11 04:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:58 +0000 (10 13:17 -0500)
treed9d36d741c82b454ea44a14621a9d5680f1624cd
parentee8bf9db4a619b40ae71b5e97ea7640483587573
r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup

- use loopback interface only, otherwise nbtd will answer with a real
  ip, which the socket wrapper code will fail to connect to

- enable eadb for posix testing

- sleeping to wait for smbd to start is pointless, as smbd won't start
  till its fifo is opened due to the fifo redirection on stdin

- sleep for a few seconds to allow for nbt server to register names after opening fifo

- use bcast name resolution, so we don't rely on /etc/hosts being right
source/script/tests/selftest.sh
source/script/tests/test_functions.sh