Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Unified Diff: third_party/crashpad/crashpad/test/multiprocess_posix.cc

Issue 2236493004: Update Crashpad to 56b14bceefcec03fc11b3222c435522922f65640 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/test/multiprocess_posix.cc
diff --git a/third_party/crashpad/crashpad/test/multiprocess_posix.cc b/third_party/crashpad/crashpad/test/multiprocess_posix.cc
index dcc39479693d056e670ac9cdc50c46ba63b7450c..4e0e6e6d2855f6c1325ddb01194b1a60f4b032c4 100644
--- a/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+++ b/third_party/crashpad/crashpad/test/multiprocess_posix.cc
@@ -98,12 +98,12 @@ void Multiprocess::Run() {
if (WIFEXITED(status)) {
reason = kTerminationNormal;
code = WEXITSTATUS(status);
- message = base::StringPrintf("Child exited with code %d, expected", code);
+ message = base::StringPrintf("Child exited with code %d", code);
} else if (WIFSIGNALED(status)) {
reason = kTerminationSignal;
code = WTERMSIG(status);
message =
- base::StringPrintf("Child terminated by signal %d (%s)%s, expected",
+ base::StringPrintf("Child terminated by signal %d (%s)%s",
code,
strsignal(code),
WCOREDUMP(status) ? " (core dumped)" : "");
@@ -112,9 +112,11 @@ void Multiprocess::Run() {
}
if (reason_ == kTerminationNormal) {
- message += base::StringPrintf(" exit with code %d", code_);
- } else if (reason == kTerminationSignal) {
- message += base::StringPrintf(" termination by signal %d", code_);
+ message += base::StringPrintf(", expected exit with code %d", code_);
+ } else if (reason_ == kTerminationSignal) {
+ message += base::StringPrintf(", expected termination by signal %d (%s)",
+ code_,
+ strsignal(code_));
}
if (reason != reason_ || code != code_) {

Powered by Google App Engine
This is Rietveld 408576698