verify server is answering before starting next server

This commit is contained in:
Mark Andrews
2012-02-06 23:23:52 +00:00
parent 94e94476cf
commit 9116257553
+3 -4
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.16.54.10 2011/10/14 03:51:03 marka Exp $
# $Id: start.pl,v 1.16.54.11 2012/02/06 23:23:52 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/);
}
}