File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler-rt/lib/scudo/standalone/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,18 @@ TEST(ScudoReportDeathTest, CSpecific) {
63
63
TEST (ScudoReportDeathTest, Linux) {
64
64
errno = ENOMEM;
65
65
EXPECT_DEATH (scudo::reportMapError (),
66
- " Scudo ERROR:.*internal map failure \\ (error desc=.*\\ )\\ s*$ " );
66
+ " Scudo ERROR:.*internal map failure \\ (error desc=.*\\ )" );
67
67
errno = ENOMEM;
68
68
EXPECT_DEATH (scudo::reportMapError (1024U ),
69
69
" Scudo ERROR:.*internal map failure \\ (error desc=.*\\ ) "
70
- " requesting 1KB\\ s*$ " );
70
+ " requesting 1KB" );
71
71
errno = ENOMEM;
72
72
EXPECT_DEATH (scudo::reportUnmapError (0x1000U , 100U ),
73
73
" Scudo ERROR:.*internal unmap failure \\ (error desc=.*\\ ) Addr "
74
- " 0x1000 Size 100\\ s*$ " );
74
+ " 0x1000 Size 100" );
75
75
errno = ENOMEM;
76
76
EXPECT_DEATH (scudo::reportProtectError (0x1000U , 100U , PROT_READ),
77
77
" Scudo ERROR:.*internal protect failure \\ (error desc=.*\\ ) "
78
- " Addr 0x1000 Size 100 Prot 1\\ s*$ " );
78
+ " Addr 0x1000 Size 100 Prot 1" );
79
79
}
80
80
#endif
You can’t perform that action at this time.
0 commit comments