#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 {
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 &&
TestSimple("example_mul");
}
-TEST(BoringSSL, ExampleSign) {
- TestSimple("example_sign");
+TEST(BoringSSL, EVP) {
+ TestSimple("evp_test");
}
TEST(BoringSSL, SSL) {