Browse Source

[1818] Check that StatsHttpd is not running by default too

Mukund Sivaraman 13 years ago
parent
commit
22041b8ed4

+ 4 - 0
tests/lettuce/features/example.feature

@@ -18,6 +18,7 @@ Feature: Example feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A query for www.example.org should have rcode NOERROR
         A query for www.doesnotexist.org should have rcode REFUSED
@@ -48,6 +49,7 @@ Feature: Example feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         # This is a general step to stop a named process. By convention,
         # the default name for any process is the same as the one we
@@ -80,6 +82,7 @@ Feature: Example feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         # Some simple queries that is not examined further
         A query for www.example.com should have rcode REFUSED
@@ -153,6 +156,7 @@ Feature: Example feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A query for www.example.org should have rcode NOERROR
         Wait for new bind10 stderr message AUTH_SEND_NORMAL_RESPONSE

+ 1 - 0
tests/lettuce/features/multi_instance.feature

@@ -15,6 +15,7 @@ Feature: Multiple instances
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A query for example.com should have rcode REFUSED
 

+ 14 - 0
tests/lettuce/features/nsec3_auth.feature

@@ -22,6 +22,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for a.c.x.w.example. should have rcode NXDOMAIN
         The last query response should have flags qr aa rd
@@ -53,6 +54,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for ns1.example. type MX should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -80,6 +82,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for y.w.example. should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -107,6 +110,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for mc.c.example. type MX should have rcode NOERROR
         The last query response should have flags qr rd
@@ -141,6 +145,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for a.z.w.example. type MX should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -187,6 +192,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for a.z.w.example. type AAAA should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -218,6 +224,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for example. type DS should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -249,6 +256,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for b.x.w.example. should have rcode NXDOMAIN
         The last query response should have flags qr aa rd
@@ -278,6 +286,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for a.w.example. should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -307,6 +316,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for *.w.example. type MX should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -349,6 +359,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for *.w.example. type A should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -376,6 +387,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for 0p9mhaveqvm6t7vbl5lop2u3t2rp3tom.example. type NSEC3 should have rcode NXDOMAIN
         The last query response should have flags qr aa rd
@@ -407,6 +419,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for ai.example. type DS should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -434,6 +447,7 @@ Feature: NSEC3 Authoritative service
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A dnssec query for c.example. type DS should have rcode NOERROR
         The last query response should have flags qr aa rd

+ 2 - 0
tests/lettuce/features/queries.feature

@@ -15,6 +15,7 @@ Feature: Querying feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A query for www.example.org should have rcode NOERROR
         The last query response should have flags qr aa rd
@@ -82,6 +83,7 @@ Feature: Querying feature
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         A query for example.org type ANY should have rcode NOERROR
         The last query response should have flags qr aa rd

+ 1 - 0
tests/lettuce/features/resolver_basic.feature

@@ -21,6 +21,7 @@ Feature: Basic Resolver
 	And bind10 module Zonemgr should not be running
 	And bind10 module Xfrin should not be running
 	And bind10 module Stats should not be running
+	And bind10 module StatsHttpd should not be running
 
         # The ACL is set to reject any queries
         A query for l.root-servers.net. should have rcode REFUSED