BIND 10 trac1790, updated. bb88241fc84644f9f998eefeb39ba1f140ba1edd [master] Check for nonexistent db right after BIND starts (contd.)

BIND 10 source code commits bind10-changes at lists.isc.org
Tue May 1 00:55:07 UTC 2012


The branch, trac1790 has been updated
       via  bb88241fc84644f9f998eefeb39ba1f140ba1edd (commit)
      from  143bbda39fee4d4de19d1aa440fe4715f833dbc4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bb88241fc84644f9f998eefeb39ba1f140ba1edd
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue May 1 06:23:55 2012 +0530

    [master] Check for nonexistent db right after BIND starts (contd.)

-----------------------------------------------------------------------

Summary of changes:
 tests/lettuce/features/example.feature      |    4 ++--
 tests/lettuce/features/xfrin_bind10.feature |    7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/lettuce/features/example.feature b/tests/lettuce/features/example.feature
index e9ef1f3..9b7c2ca 100644
--- a/tests/lettuce/features/example.feature
+++ b/tests/lettuce/features/example.feature
@@ -30,8 +30,8 @@ Feature: Example feature
         # that we are sure this file does not exist, see
         # features/terrain/terrain.py
 
-        # Standard check to test (non-)existence of a file
-        # This file is actually automatically
+        # Standard check to test (non-)existence of a file.
+        # This file is actually automatically created.
         The file data/test_nonexistent_db.sqlite3 should not exist
 
         # In the first scenario, we used 'given I have bind10 running', which
diff --git a/tests/lettuce/features/xfrin_bind10.feature b/tests/lettuce/features/xfrin_bind10.feature
index f2a7e8d..3d6e5d2 100644
--- a/tests/lettuce/features/xfrin_bind10.feature
+++ b/tests/lettuce/features/xfrin_bind10.feature
@@ -2,6 +2,8 @@ Feature: Xfrin
     Tests for Xfrin, specific for BIND 10 behaviour.
     
     Scenario: Retransfer command
+    # Standard check to test (non-)existence of a file.
+    # This file is actually automatically created.
     The file data/test_nonexistent_db.sqlite3 should not exist
 
     Given I have bind10 running with configuration xfrin/retransfer_master.conf with cmdctl port 47804 as master
@@ -18,6 +20,9 @@ Feature: Xfrin
     And wait for bind10 stderr message XFRIN_STARTED
     And wait for bind10 stderr message ZONEMGR_STARTED
 
+    # Now we use the first step again to see if the file has been created
+    The file data/test_nonexistent_db.sqlite3 should exist
+
     A query for www.example.org should have rcode REFUSED
     When I send bind10 the command Xfrin retransfer example.org IN 127.0.0.1 47807
     Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE
@@ -30,5 +35,3 @@ Feature: Xfrin
     # containing an NSEC3 RR.
     When I do an AXFR transfer of example.org from 127.0.0.1 47807
     Then transfer result should have 13 rrs
-
-    The file data/test_nonexistent_db.sqlite3 should exist



More information about the bind10-changes mailing list