summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-04-13 18:39:02 +0000
committerChris Wilson <chris+github@qwirx.com>2009-04-13 18:39:02 +0000
commitaec3fa23a75124d860f48b9007858ec1cb641623 (patch)
treee7f24250cef3c840284056a5500af0b89603e0c9
parent18fb3a154d5caa9b2fdabb1dcfef3f80d9cd974e (diff)
Log unexpected test results using logging framework rather than printf.
-rw-r--r--lib/common/Test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index 362b43af..344af979 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -90,8 +90,8 @@ extern std::string bbackupd_args, bbstored_args, bbackupquery_args, test_args;
\
if(_exp_str != _found_str) \
{ \
- printf("Expected <%s> but found <%s>\n", \
- _exp_str.c_str(), _found_str.c_str()); \
+ BOX_WARNING("Expected <" << _exp_str << "> but found <" << \
+ _found_str << ">"); \
\
std::ostringstream _oss3; \
_oss3 << #_found << " != " << #_expected; \