summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/test/chrome_process_util_linux.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/chrome_process_util_linux.cc b/chrome/test/chrome_process_util_linux.cc
index 9bcb0ad..f1c7601 100644
--- a/chrome/test/chrome_process_util_linux.cc
+++ b/chrome/test/chrome_process_util_linux.cc
@@ -37,10 +37,7 @@ base::ProcessId ChromeBrowserProcessId(const FilePath& data_dir) {
int pid;
if (!StringToInt(trimmed_output, &pid)) {
- // In normal use we'd expect to find what we're looking for, but in the unit
- // test for chrome_process_util we're explicitly called when there is no
- // matching process to find. Just return -1 and let our callers realize
- // something's wrong if they really expect to find a target.
+ LOG(FATAL) << "Unexpected fuser output: " << fuser_output;
return -1;
}
return pid;