Parcourir la source

[2421] Add a lettuce testcase where the zone file doesn't exist

Mukund Sivaraman il y a 12 ans
Parent
commit
2332578b7a

+ 2 - 1
tests/lettuce/configurations/auth/auth_badzone.config.orig

@@ -22,7 +22,8 @@
                     "params": {
                         "example.org": "data/example.org",
                         "example.com": "data/example.com-broken",
-                        "example.net": "data/example.net-empty"
+                        "example.net": "data/example.net-empty",
+                        "example.info": "data/example.info-doesnt-exist"
                     }
                 }
             ]

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

@@ -36,3 +36,4 @@ Feature: Authoritative DNS server with a bad zone
 
         A query for www.example.com should have rcode REFUSED
         A query for www.example.net should have rcode REFUSED
+        A query for www.example.info should have rcode REFUSED