BIND 10 master, updated. b8fa96e3498580f2c01b6baa1d38e649edee418b Delete file generated by tests

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Aug 2 11:00:48 UTC 2013


The branch, master has been updated
       via  b8fa96e3498580f2c01b6baa1d38e649edee418b (commit)
      from  d5c2bffa4970fbf53178e4a1975a0e476d3bda32 (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 b8fa96e3498580f2c01b6baa1d38e649edee418b
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Aug 2 12:57:00 2013 +0200

    Delete file generated by tests

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

Summary of changes:
 .../auth/tests/datasrc_clients_builder_unittest.cc |    6 ++++++
 1 file changed, 6 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
index ed851b0..6f85adb 100644
--- a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
+++ b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
@@ -43,6 +43,7 @@
 #include <string>
 #include <sstream>
 #include <cerrno>
+#include <unistd.h>
 
 using isc::data::ConstElementPtr;
 using namespace isc::dns;
@@ -69,6 +70,11 @@ protected:
 
     }
 
+    void TearDown() {
+        // Some tests create this file. Delete it if it exists.
+        unlink(TEST_DATA_BUILDDIR "/test1.zone.image");
+    }
+
     void configureZones();      // used for loadzone related tests
 
     ClientListMapPtr clients_map; // configured clients



More information about the bind10-changes mailing list