diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-04-13 18:39:02 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-04-13 18:39:02 +0000 |
commit | aec3fa23a75124d860f48b9007858ec1cb641623 (patch) | |
tree | e7f24250cef3c840284056a5500af0b89603e0c9 | |
parent | 18fb3a154d5caa9b2fdabb1dcfef3f80d9cd974e (diff) |
Log unexpected test results using logging framework rather than printf.
-rw-r--r-- | lib/common/Test.h | 4 |
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; \ |