verify server is answering before starting next server

This commit is contained in:
Mark Andrews 2012-02-06 23:24:43 +00:00
parent 5d51a0c1e5
commit f2c72db13f

View file

@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: start.pl,v 1.13.176.11 2011/10/17 02:37:57 marka Exp $
# $Id: start.pl,v 1.13.176.12 2012/02/06 23:24:43 marka Exp $
# Framework for starting test servers.
# Based on the type of server specified, check for port availability, remove
@ -94,9 +94,8 @@ if ($server) {
&check_ports();
foreach $name(@ns, @lwresd, @ans) {
&start_server($name);
}
foreach $name(@ns) {
&verify_server($name);
&verify_server($name) if ($name =~ /^ns/);
}
}