cvs updates from Wed Dec 15 17:45:22 EST 2010
[tridge/bind9.git] / bin / tests / system / start.pl
index 1f461b50802f02e66b0c2b22b6103dafb45d44bc..75b03d994a8eea503aeb935584d7ebc53ee190d5 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 #
-# Copyright (C) 2004-2008  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004-2008, 2010  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 2001  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any
@@ -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 2008/01/02 23:47:01 tbox Exp $
+# $Id: start.pl,v 1.16 2010/09/15 12:07:55 marka Exp $
 
 # Framework for starting test servers.
 # Based on the type of server specified, check for port availability, remove
@@ -131,6 +131,10 @@ sub start_server {
                } else {
                        $command .= "-m record,size,mctx ";
                        $command .= "-T clienttest ";
+                       $command .= "-T nosoa " 
+                               if (-e "$testdir/$server/named.nosoa");
+                       $command .= "-T noaa " 
+                               if (-e "$testdir/$server/named.noaa");
                        $command .= "-c named.conf -d 99 -g";
                }
                $command .= " >named.run 2>&1 &";