Browse Source

[master] Fixed broken build in src/bin/d2/d_test_stubs.h,
and logger check failure in src/bin/d2/d2_messages.mes

Thomas Markwalder 11 years ago
parent
commit
a3e8b0ad37
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/bin/d2/d2_messages.mes
  2. 1 1
      src/bin/d2/tests/d_test_stubs.h

+ 1 - 1
src/bin/d2/d2_messages.mes

@@ -78,7 +78,7 @@ An error message output during a configuration update.  The program is
 expecting an item but has not found it in the new configuration.  This may
 mean that the BIND 10 configuration database is corrupt.
 
-% DCTL_PARSER_FAIL configuration parsing failed for configuration element: %1
+% DCTL_PARSER_FAIL configuration parsing failed for configuration element: %1, reason: %2 
 On receipt of message containing details to a change of its configuration,
 the server failed to create a parser to decode the contents of the named
 configuration element, or the creation succeeded but the parsing actions

+ 1 - 1
src/bin/d2/tests/d_test_stubs.h

@@ -632,7 +632,7 @@ public:
         }
 
         return ::testing::AssertionFailure() << "checkAnswer rcode:" 
-               << rcode << " comment: " << *comment << std::endl;
+               << rcode << " comment: " << *comment;
     }
 
     /// @brief Configuration set being tested.