summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/log/log_process.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/log/log_process.cpp b/test/log/log_process.cpp
index 966b80cf..17af7d74 100644
--- a/test/log/log_process.cpp
+++ b/test/log/log_process.cpp
@@ -115,8 +115,11 @@ protected:
close(fd);
string str(buf);
- if (str.find(message) == string::npos)
+ if (str.find(message) == string::npos) {
+ cerr << "Received message is not correct (received "
+ << str.length() << " bytes)" << endl;
return TestFail;
+ }
return TestPass;
}