diff options
author | Christopher Ferris <cferris1000@users.noreply.github.com> | 2024-04-08 13:08:35 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-04-08 13:12:40 -0700 |
commit | 7eafe41f9b29168c025ba18f2a24012d15b6fa1e (patch) | |
tree | 9b983eaadae6f7998e45e319bd459c73bfed1327 | |
parent | 4de720a30d7cd35d15d2802b8ed20374e7b50230 (diff) | |
download | scudo-7eafe41f9b29168c025ba18f2a24012d15b6fa1e.tar.gz |
[scudo] Remove end of line checks. (#88022)
The regex to verify that there is nothing else at the end of the line
doesn't work in all cases, so remove it.
GitOrigin-RevId: 3b43ae9a68256a77e8879a32a1670fd4b327802f
Change-Id: Iaf1613d6b9976244315b3201e7ea3d9d86959f97
-rw-r--r-- | standalone/tests/report_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/standalone/tests/report_test.cpp b/standalone/tests/report_test.cpp index 2c790247a2f..6c46243053d 100644 --- a/standalone/tests/report_test.cpp +++ b/standalone/tests/report_test.cpp @@ -63,18 +63,18 @@ TEST(ScudoReportDeathTest, CSpecific) { TEST(ScudoReportDeathTest, Linux) { errno = ENOMEM; EXPECT_DEATH(scudo::reportMapError(), - "Scudo ERROR:.*internal map failure \\(error desc=.*\\)\\s*$"); + "Scudo ERROR:.*internal map failure \\(error desc=.*\\)"); errno = ENOMEM; EXPECT_DEATH(scudo::reportMapError(1024U), "Scudo ERROR:.*internal map failure \\(error desc=.*\\) " - "requesting 1KB\\s*$"); + "requesting 1KB"); errno = ENOMEM; EXPECT_DEATH(scudo::reportUnmapError(0x1000U, 100U), "Scudo ERROR:.*internal unmap failure \\(error desc=.*\\) Addr " - "0x1000 Size 100\\s*$"); + "0x1000 Size 100"); errno = ENOMEM; EXPECT_DEATH(scudo::reportProtectError(0x1000U, 100U, PROT_READ), "Scudo ERROR:.*internal protect failure \\(error desc=.*\\) " - "Addr 0x1000 Size 100 Prot 1\\s*$"); + "Addr 0x1000 Size 100 Prot 1"); } #endif |