| Index: third_party/boringssl/boringssl_unittest.cc
|
| diff --git a/third_party/boringssl/boringssl_unittest.cc b/third_party/boringssl/boringssl_unittest.cc
|
| index 9ed97d551b845e50e68e32bc72a172198ddd25cc..b0289215daba46117e9b025fe8db1492386e183e 100644
|
| --- a/third_party/boringssl/boringssl_unittest.cc
|
| +++ b/third_party/boringssl/boringssl_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/logging.h"
|
| #include "base/path_service.h"
|
| #include "base/process/launch.h"
|
| +#include "base/strings/string_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace {
|
| @@ -30,6 +31,8 @@ void TestProcess(const std::string& name,
|
|
|
| std::string output;
|
| EXPECT_TRUE(base::GetAppOutput(cmd, &output));
|
| + // Account for Windows line endings.
|
| + ReplaceSubstringsAfterOffset(&output, 0, "\r\n", "\n");
|
|
|
| const bool ok = output.size() >= 5 &&
|
| memcmp("PASS\n", &output[output.size() - 5], 5) == 0 &&
|
|
|